root/platform/a610/sub/100f/capt_seq.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. sub_FFD399A8_my
  2. sub_FFD36838_my
  3. capt_seq_task
  4. exp_drv_task
  5. sub_FFCE1FBC_my
  6. sub_FFC97A3C_my

   1 #include "lolevel.h"
   2 #include "platform.h"
   3 #include "core.h"
   4 
   5 static long *nrflag = (long*)0x6CE0;
   6 
   7 #include "../../../generic/capt_seq.c"
   8 
   9 void __attribute__((naked,noinline)) sub_FFD399A8_my(long p)
  10 {
  11     asm volatile (
  12                 "STMFD   SP!, {R4,R5,LR}\n"
  13                 "LDR     R3, =0x73D34\n"
  14                 "LDR     R5, =0x6CDC\n"
  15                 "SUB     SP, SP, #4\n"
  16                 "LDR     R1, =0xFFFFFFFF\n"
  17                 "STR     R0, [R5]\n"
  18                 "LDR     R0, [R3]\n"
  19                 "BL      sub_FFC0FA60\n"
  20                 "BL      sub_FFD3F7C0\n"
  21                 "BL      wait_until_remote_button_is_released\n"
  22                 "LDR     R0, [R0,#0x7C]\n"
  23                 "BL      sub_FFD3991C\n"
  24                 "BL      capt_seq_hook_set_nr\n"
  25                 "LDR     R3, =0x6CE4\n"
  26                 "LDR     R0, [R3]\n"
  27                 "BL      sub_FFC8C410\n"
  28 
  29                 "B      sub_FFD399E4\n"
  30     );
  31 }
  32 
  33 void __attribute__((naked,noinline)) sub_FFD36838_my(long p)
  34 {
  35     asm volatile (
  36                 "STMFD   SP!, {R4,R5,LR}\n"
  37                 "LDR     R5, [R0,#0xC]\n"
  38                 "BL      sub_FFD3F564\n"
  39                 "CMP     R0, #0\n"
  40                 "BNE     loc_FFD36850\n"
  41                 "BL      sub_FFD3F570\n"
  42 
  43 "loc_FFD36850:\n"
  44                 "MOV     R0, R5\n"
  45                 "BL      sub_FFD387B4\n"
  46                 "TST     R0, #1\n"
  47                 "MOV     R2, R5\n"
  48                 "MOV     R1, #1\n"
  49                 "BEQ     loc_FFD36870\n"
  50                 "LDMFD   SP!, {R4,R5,LR}\n"
  51                 "B       sub_FFD34D90\n"
  52 
  53 "loc_FFD36870:\n"
  54                 "BL      sub_FFD7480C\n"
  55                 "BL      sub_FFD3417C\n"
  56                 "MOV     R4, R0\n"
  57                 "BL      sub_FFC143A4\n"
  58                 "ADD     R3, R5, R5,LSL#1\n"
  59                 "ADD     R4, R4, R3,LSL#5\n"
  60                 "STR     R0, [R4,#4]\n"
  61                 "MOV     R0, R5\n"
  62                 "BL      sub_FFD3A1C0\n"
  63                 "BL      sub_FFD38CF8\n"
  64                 "BL      sub_FFD38C98\n"
  65                 "MOV     R0, R5\n"
  66                 "BL      sub_FFD399A8_my\n"
  67                 "BL      capt_seq_hook_raw_here\n"
  68                 "MOV     R2, R5\n"
  69                 "MOV     R1, #1\n"
  70                 "BL      sub_FFD34D90\n"
  71                 "LDMFD   SP!, {R4,R5,LR}\n"
  72                 "B       sub_FFD39BA8\n"
  73     );
  74 }
  75 
  76 void __attribute__((naked,noinline)) capt_seq_task()
  77 {
  78         asm volatile (
  79                 "STMFD   SP!, {R4,LR}\n"
  80                 "SUB     SP, SP, #4\n"
  81                 "MOV     R4, SP\n"
  82                 "B       loc_FFD36D90\n"
  83 
  84 "loc_FFD36C3C:\n"
  85                 "LDR     R2, [SP,#0xC-0xC]\n"
  86                 "LDR     R3, [R2]\n"
  87                 "MOV     R0, R2\n"
  88                 "CMP     R3, #0x15\n"
  89                 "LDRLS   PC, [PC,R3,LSL#2]\n"
  90                 "B       loc_FFD36D68\n"
  91                 ".long loc_FFD36CAC\n"
  92                 ".long loc_FFD36CB8\n"
  93                 ".long loc_FFD36CC0\n"
  94                 ".long loc_FFD36CD0\n"
  95                 ".long loc_FFD36CC8\n"
  96                 ".long loc_FFD36CD8\n"
  97                 ".long loc_FFD36CE0\n"
  98                 ".long loc_FFD36CEC\n"
  99                 ".long loc_FFD36CF4\n"
 100                 ".long loc_FFD36D00\n"
 101                 ".long loc_FFD36D08\n"
 102                 ".long loc_FFD36D10\n"
 103                 ".long loc_FFD36D18\n"
 104                 ".long loc_FFD36D20\n"
 105                 ".long loc_FFD36D28\n"
 106                 ".long loc_FFD36D34\n"
 107                 ".long loc_FFD36D3C\n"
 108                 ".long loc_FFD36D44\n"
 109                 ".long loc_FFD36D4C\n"
 110                 ".long loc_FFD36D58\n"
 111                 ".long loc_FFD36D60\n"
 112                 ".long loc_FFD36D78\n"
 113 
 114 "loc_FFD36CAC:\n"
 115                 "BL      sub_FFD38410\n"
 116                 "BL      shooting_expo_param_override\n"  // +
 117                 "BL      sub_FFD348E8\n"
 118                 "B       loc_FFD36D74\n"
 119 
 120 "loc_FFD36CB8:\n"
 121                 "BL      sub_FFD36838_my\n"
 122                 "B       loc_FFD36D74\n"
 123 
 124 "loc_FFD36CC0:\n"
 125                 "BL      sub_FFD387A4\n"
 126                 "B       loc_FFD36D74\n"
 127 
 128 "loc_FFD36CC8:\n"
 129                 "BL      sub_FFD376CC\n"
 130                 "B       loc_FFD36D74\n"
 131 
 132 "loc_FFD36CD0:\n"
 133                 "BL      sub_FFD37728\n"
 134                 "B       loc_FFD36D74\n"
 135 
 136 "loc_FFD36CD8:\n"
 137                 "BL      sub_FFD37918\n"
 138                 "B       loc_FFD36D74\n"
 139 
 140 "loc_FFD36CE0:\n"
 141                 "BL      sub_FFD38504\n"
 142                 "BL      sub_FFD348E8\n"
 143                 "B       loc_FFD36D74\n"
 144 
 145 "loc_FFD36CEC:\n"
 146                 "BL      sub_FFD36920\n"
 147                 "B       loc_FFD36D74\n"
 148 
 149 "loc_FFD36CF4:\n"
 150                 "BL      sub_FFD3856C\n"
 151                 "BL      sub_FFD348E8\n"
 152                 "B       loc_FFD36D74\n"
 153 
 154 "loc_FFD36D00:\n"
 155                 "BL      sub_FFD37728\n"
 156                 "B       loc_FFD36D74\n"
 157 
 158 "loc_FFD36D08:\n"
 159                 "BL      sub_FFD38E30\n"
 160                 "B       loc_FFD36D74\n"
 161 
 162 "loc_FFD36D10:\n"
 163                 "BL      sub_FFD390B8\n"
 164                 "B       loc_FFD36D74\n"
 165 
 166 "loc_FFD36D18:\n"
 167                 "BL      sub_FFD39144\n"
 168                 "B       loc_FFD36D74\n"
 169 
 170 "loc_FFD36D20:\n"
 171                 "BL      sub_FFD391FC\n"
 172                 "B       loc_FFD36D74\n"
 173 
 174 "loc_FFD36D28:\n"
 175                 "MOV     R0, #0\n"
 176                 "BL      sub_FFD392AC\n"
 177                 "B       loc_FFD36D74\n"
 178 
 179 "loc_FFD36D34:\n"
 180                 "BL      sub_FFD393FC\n"
 181                 "B       loc_FFD36D74\n"
 182 
 183 "loc_FFD36D3C:\n"
 184                 "BL      sub_FFD39470\n"
 185                 "B       loc_FFD36D74\n"
 186 
 187 "loc_FFD36D44:\n"
 188                 "BL      sub_FFD39528\n"
 189                 "B       loc_FFD36D74\n"
 190 
 191 "loc_FFD36D4C:\n"
 192                 "MOV     R0, #1\n"
 193                 "BL      sub_FFD392AC\n"
 194                 "B       loc_FFD36D74\n"
 195 
 196 "loc_FFD36D58:\n"
 197                 "BL      sub_FFD39628\n"
 198                 "B       loc_FFD36D74\n"
 199 
 200 "loc_FFD36D60:\n"
 201                 "BL      sub_FFD39654\n"
 202                 "B       loc_FFD36D74\n"
 203 
 204 "loc_FFD36D68:\n"
 205                 "LDR     R0, =0xFFD365BC\n"
 206                 "MOV     R1, #0x2DC\n"
 207                 "BL      sub_FFC03AD0\n"
 208 
 209 "loc_FFD36D74:\n"
 210                 "LDR     R2, [SP,#0xC-0xC]\n"
 211 
 212 "loc_FFD36D78:\n"
 213                 "LDR     R3, =0x73CBC\n"
 214                 "LDR     R1, [R2,#4]\n"
 215                 "LDR     R0, [R3]\n"
 216                 "BL      sub_FFC0F8C4\n"
 217                 "LDR     R0, [SP,#0xC-0xC]\n"
 218                 "BL      sub_FFD36638\n"
 219 
 220 "loc_FFD36D90:\n"
 221                 "LDR     R3, =0x73CC0\n"
 222                 "MOV     R1, R4\n"
 223                 "LDR     R0, [R3]\n"
 224                 "MOV     R2, #0\n"
 225                 "BL      sub_FFC10074\n"
 226                 "TST     R0, #1\n"
 227                 "BEQ     loc_FFD36C3C\n"
 228                 "MOV     R1, #0x24C\n"
 229                 "LDR     R0, =0xFFD365BC\n"
 230                 "ADD     R1, R1, #1\n"
 231                 "BL      sub_FFC03AD0\n"
 232                 "BL      sub_FFC11610\n"
 233                 "ADD     SP, SP, #4\n"
 234                 "LDMFD   SP!, {R4,PC}\n"
 235 
 236     );
 237 }
 238 
 239 void __attribute__((naked,noinline)) exp_drv_task(){
 240  asm volatile(
 241                 "STMFD   SP!, {R4-R8,LR}\n"
 242                 "SUB     SP, SP, #0x14\n"
 243                 "MOV     R7, SP\n"
 244                 "B       loc_FFCE34D0\n"
 245 "loc_FFCE31EC:\n"
 246                 "CMP     R2, #0x19\n"
 247                 "BNE     loc_FFCE3204\n"
 248                 "LDR     R0, [R12,#0x34]\n"
 249                 "MOV     LR, PC\n"
 250                 "LDR     PC, [R12,#0x30]\n"
 251                 "B       loc_FFCE323C\n"
 252 "loc_FFCE3204:\n"
 253                 "SUB     R3, R2, #0x16\n"
 254                 "CMP     R3, #1\n"
 255                 "BHI     loc_FFCE321C\n"
 256                 "MOV     R0, R12\n"
 257                 "BL      sub_FFCE3184\n"
 258                 "B       loc_FFCE322C\n"
 259 "loc_FFCE321C:\n"
 260                 "CMP     R2, #0x18\n"
 261                 "BNE     loc_FFCE3248\n"
 262                 "BL      sub_FFC97DA4\n"
 263                 "BL      sub_FFC99C1C\n"
 264 "loc_FFCE322C:\n"
 265                 "LDR     R3, [SP,#0x0]\n"
 266                 "LDR     R0, [R3,#0x34]\n"
 267                 "MOV     LR, PC\n"
 268                 "LDR     PC, [R3,#0x30]\n"
 269 "loc_FFCE323C:\n"
 270                 "LDR     R0, [SP,#0x0]\n"
 271                 "BL      sub_FFCE14D4\n"
 272                 "B       loc_FFCE34D0\n"
 273 "loc_FFCE3248:\n"
 274                 "CMP     R2, #0xC\n"
 275                 "MOV     R8, #1\n"
 276                 "BNE     loc_FFCE32B8\n"
 277                 "LDR     R1, [R12,#0x24]\n"
 278                 "ADD     R1, R1, R1,LSL#1\n"
 279                 "ADD     R1, R12, R1,LSL#1\n"
 280                 "ADD     R6, SP, #0xC\n"
 281                 "SUB     R1, R1, #2\n"
 282                 "MOV     R2, #6\n"
 283                 "MOV     R0, R6\n"
 284                 "BL      _memcpy\n"
 285                 "LDR     R0, [SP,#0x0]\n"
 286                 "BL      sub_FFCE27AC\n"
 287                 "LDR     R3, [SP,#0x0]\n"
 288                 "LDR     R1, [R3,#0x24]\n"
 289                 "LDR     R2, [R3,#0x34]\n"
 290                 "ADD     R0, R3, #4\n"
 291                 "MOV     LR, PC\n"
 292                 "LDR     PC, [R3,#0x30]\n"
 293                 "LDR     R0, [SP,#0x0]\n"
 294                 "BL      sub_FFCE2930\n"
 295                 "LDR     R3, [SP,#0x0]\n"
 296                 "ADD     R0, R3, #4\n"
 297                 "LDR     R1, [R3,#0x24]\n"
 298                 "LDR     R2, [R3,#0x3C]\n"
 299                 "MOV     LR, PC\n"
 300                 "LDR     PC, [R3,#0x38]\n"
 301                 "B       loc_FFCE3480\n"
 302 "loc_FFCE32B8:\n"
 303                 "SUB     R3, R2, #0xD\n"
 304                 "CMP     R3, #1\n"
 305                 "BHI     loc_FFCE3338\n"
 306                 "ADD     R6, SP, #0xC\n"
 307                 "ADD     R5, SP, #0x4\n"
 308                 "MOV     R0, R12\n"
 309                 "MOV     R1, R6\n"
 310                 "MOV     R2, R5\n"
 311                 "BL      sub_FFCE29AC\n"
 312                 "MOV     R4, R0\n"
 313                 "CMP     R4, #3\n"
 314                 "CMPNE   R4, #1\n"
 315                 "BNE     loc_FFCE3318\n"
 316                 "LDR     R12, [SP,#0x0]\n"
 317                 "MOV     R0, R5\n"
 318                 "LDR     R1, [R12,#0x24]\n"
 319                 "MOV     R2, R4\n"
 320                 "LDR     R3, [R12,#0x34]\n"
 321                 "MOV     LR, PC\n"
 322                 "LDR     PC, [R12,#0x30]\n"
 323                 "MOV     R1, R4\n"
 324                 "LDR     R0, [SP,#0x0]\n"
 325                 "BL      sub_FFCE3164\n"
 326                 "B       loc_FFCE3480\n"
 327 "loc_FFCE3318:\n"
 328                 "LDR     R12, [SP,#0x0]\n"
 329                 "MOV     R2, R4\n"
 330                 "ADD     R0, R12, #4\n"
 331                 "LDR     R1, [R12,#0x24]\n"
 332                 "LDR     R3, [R12,#0x34]\n"
 333                 "MOV     LR, PC\n"
 334                 "LDR     PC, [R12,#0x30]\n"
 335                 "B       loc_FFCE3480\n"
 336 "loc_FFCE3338:\n"
 337                 "CMP     R2, #0x14\n"
 338                 "BNE     loc_FFCE338C\n"
 339                 "LDR     R1, [R12,#0x24]\n"
 340                 "ADD     R1, R1, R1,LSL#1\n"
 341                 "ADD     R1, R12, R1,LSL#1\n"
 342                 "ADD     R6, SP, #0xC\n"
 343                 "SUB     R1, R1, #2\n"
 344                 "MOV     R2, #6\n"
 345                 "MOV     R0, R6\n"
 346                 "BL      _memcpy\n"
 347                 "LDR     R0, [SP,#0x0]\n"
 348                 "BL      sub_FFCE2284\n"
 349                 "LDR     R3, [SP,#0x0]\n"
 350                 "ADD     R0, R3, #4\n"
 351                 "LDR     R1, [R3,#0x24]\n"
 352                 "LDR     R2, [R3,#0x34]\n"
 353                 "MOV     LR, PC\n"
 354                 "LDR     PC, [R3,#0x30]\n"
 355                 "LDR     R0, [SP,#0x0]\n"
 356                 "BL      sub_FFCE24DC\n"
 357                 "B       loc_FFCE3480\n"
 358 "loc_FFCE338C:\n"
 359                 "ADD     R6, SP, #0xC\n"
 360                 "ADD     R1, R12, #4\n"
 361                 "MOV     R0, R6\n"
 362                 "MOV     R2, #6\n"
 363                 "BL      _memcpy\n"
 364                 "LDR     R12, [SP,#0x0]\n"
 365                 "LDR     R3, [R12]\n"
 366                 "MOV     R0, R12\n"
 367                 "CMP     R3, #0x15\n"
 368                 "LDRLS   PC, [PC,R3,LSL#2]\n"
 369                 "B       loc_FFCE346C\n"
 370                 ".long loc_FFCE3410\n"
 371                 ".long loc_FFCE3418\n"
 372                 ".long loc_FFCE3420\n"
 373                 ".long loc_FFCE3420\n"
 374                 ".long loc_FFCE3410\n"
 375                 ".long loc_FFCE3418\n"
 376                 ".long loc_FFCE3420\n"
 377                 ".long loc_FFCE3420\n"
 378                 ".long loc_FFCE3438\n"
 379                 ".long loc_FFCE3438\n"
 380                 ".long loc_FFCE345C\n"
 381                 ".long loc_FFCE3464\n"
 382                 ".long loc_FFCE346C\n"
 383                 ".long loc_FFCE346C\n"
 384                 ".long loc_FFCE346C\n"
 385                 ".long loc_FFCE3428\n"
 386                 ".long loc_FFCE3430\n"
 387                 ".long loc_FFCE3444\n"
 388                 ".long loc_FFCE344C\n"
 389                 ".long loc_FFCE344C\n"
 390                 ".long loc_FFCE346C\n"
 391                 ".long loc_FFCE3454\n"
 392 "loc_FFCE3410:\n"
 393                 "BL      sub_FFCE19B0\n"
 394                 "B       loc_FFCE3468\n"
 395 "loc_FFCE3418:\n"
 396                 "BL      sub_FFCE1AEC\n"
 397                 "B       loc_FFCE3468\n"
 398 "loc_FFCE3420:\n"
 399                 "BL      sub_FFCE1C1C\n"
 400                 "B       loc_FFCE3468\n"
 401 "loc_FFCE3428:\n"
 402                 "BL      sub_FFCE1DF0\n"
 403                 "B       loc_FFCE3468\n"
 404 "loc_FFCE3430:\n"
 405                 "BL      sub_FFCE1EF8\n"
 406                 "B       loc_FFCE3468\n"
 407 "loc_FFCE3438:\n"
 408                 "BL      sub_FFCE1FBC_my\n"  //---------->
 409                 "MOV     R8, #0\n"
 410                 "B       loc_FFCE3468\n"
 411 "loc_FFCE3444:\n"
 412                 "BL      sub_FFCE2080\n"
 413                 "B       loc_FFCE3468\n"
 414 "loc_FFCE344C:\n"
 415                 "BL      sub_FFCE2168\n"
 416                 "B       loc_FFCE3468\n"
 417 "loc_FFCE3454:\n"
 418                 "BL      sub_FFCE256C\n"
 419                 "B       loc_FFCE3468\n"
 420 "loc_FFCE345C:\n"
 421                 "BL      sub_FFCE2640\n"
 422                 "B       loc_FFCE3468\n"
 423 "loc_FFCE3464:\n"
 424                 "BL      sub_FFCE272C\n"
 425 "loc_FFCE3468:\n"
 426                 "LDR     R12, [SP,#0x0]\n"
 427 "loc_FFCE346C:\n"
 428                 "ADD     R0, R12, #4\n"
 429                 "LDR     R1, [R12,#0x24]\n"
 430                 "LDR     R2, [R12,#0x34]\n"
 431                 "MOV     LR, PC\n"
 432                 "LDR     PC, [R12,#0x30]\n"
 433 "loc_FFCE3480:\n"
 434                 "CMP     R8, #1\n"
 435                 "BNE     loc_FFCE34A8\n"
 436                 "LDR     R1, [SP,#0x0]\n"
 437                 "LDR     R3, [R1,#0x24]\n"
 438                 "ADD     R3, R3, R3,LSL#1\n"
 439                 "ADD     R1, R1, R3,LSL#1\n"
 440                 "MOV     R0, R6\n"
 441                 "SUB     R1, R1, #2\n"
 442                 "BL      sub_FFCE1868\n"
 443                 "B       loc_FFCE34C8\n"
 444 "loc_FFCE34A8:\n"
 445                 "MOV     R0, #1\n"
 446                 "MOV     R1, R0\n"
 447                 "MOV     R2, R0\n"
 448                 "BL      sub_FFCE180C\n"
 449                 "MOV     R0, #1\n"
 450                 "MOV     R1, R0\n"
 451                 "MOV     R2, R0\n"
 452                 "BL      sub_FFCE1928\n"
 453 "loc_FFCE34C8:\n"
 454                 "LDR     R0, [SP,#0x0]\n"
 455                 "BL      sub_FFCE14D4\n"
 456 "loc_FFCE34D0:\n"
 457                 "LDR     R3, =0x4FB70\n"
 458                 "MOV     R2, #0\n"
 459                 "LDR     R0, [R3]\n"
 460                 "MOV     R1, R7\n"
 461                 "BL      sub_FFC10074\n"  //ReceiveMessageQueue
 462                 "LDR     R12, [SP,#0x0]\n"
 463                 "LDR     R2, [R12]\n"
 464                 "CMP     R2, #0x1A\n"
 465                 "BNE     loc_FFCE31EC\n"
 466                 "MOV     R0, R12\n"
 467                 "BL      sub_FFCE14D4\n"
 468                 "LDR     R3, =0x4FB6C\n"
 469                 "MOV     R1, #1\n"
 470                 "LDR     R0, [R3]\n"
 471                 "BL      sub_FFC0F8C4\n"  //SetEventFlag
 472                 "BL      _ExitTask\n"
 473                 "ADD     SP, SP, #0x14\n"
 474                 "LDMFD   SP!, {R4-R8,PC}\n"
 475     );
 476 }
 477 
 478 void __attribute__((naked,noinline)) sub_FFCE1FBC_my(){
 479  asm volatile(
 480                 "STMFD   SP!, {R4,R5,LR}\n"
 481                 "LDR     R3, =0x4FB6C\n"
 482                 "MOV     R4, R0\n"
 483                 "MOV     R1, #0xE\n"
 484                 "LDR     R0, [R3]\n"
 485                 "BL      sub_FFC0FA60\n"  //ClearEventFlag
 486                 "MOV     R1, #0\n"
 487                 "LDRSH   R0, [R4,#4]\n"
 488                 "BL      sub_FFCE1574\n"
 489                 "MOV     R5, R0\n"
 490                 "LDRSH   R0, [R4,#6]\n"
 491                 "BL      sub_FFCE16A4\n"
 492                 "LDRSH   R0, [R4,#8]\n"
 493                 "BL      sub_FFCE1740\n"
 494                 "LDR     R3, [R4]\n"
 495                 "CMP     R3, #9\n"
 496                 "MOVEQ   R5, #0\n"
 497                 "CMP     R5, #1\n"
 498                 "LDR     R1, =0xFFCE1504\n"
 499                 "MOV     R2, #2\n"
 500                 "BNE     loc_FFCE2028\n"
 501                 "LDRSH   R0, [R4,#4]\n"
 502                 "BL      sub_FFE5D128\n"
 503                 "LDR     R2, =0x4FB98\n"
 504                 "MOV     R3, #0\n"
 505                 "STR     R3, [R2]\n"
 506                 "B       loc_FFCE202C\n"
 507 "loc_FFCE2028:\n"
 508                 "BL      sub_FFCE17DC\n"
 509 "loc_FFCE202C:\n"
 510                 "STRH    R0, [R4,#4]\n"
 511                 "LDRSH   R0, [R4,#6]\n"
 512                 "BL      sub_FFC97A3C_my\n"  //---------->
 513                 "BL      sub_FFC999C0\n"
 514                 "LDRSH   R0, [R4,#8]\n"
 515                 "MOV     R1, #1\n"
 516                 "BL      sub_FFC997DC\n"
 517                 "MOV     R1, #0\n"
 518                 "ADD     R0, R4, #8\n"
 519                 "BL      sub_FFC998A0\n"
 520                 "CMP     R5, #1\n"
 521                 "MOV     R1, #2\n"
 522                 "MOV     R2, #0\n"
 523                 "LDMNEFD SP!, {R4,R5,PC}\n"
 524                 "LDR     R3, =0x4FB6C\n"
 525                 "LDR     R0, [R3]\n"
 526                 "LDMFD   SP!, {R4,R5,LR}\n"
 527                 "B       sub_FFC0F8B4\n"
 528     );
 529 }
 530 
 531 void __attribute__((naked,noinline)) sub_FFC97A3C_my(){
 532  asm volatile(
 533                 "STMFD   SP!, {R4,LR}\n"
 534                 "LDR     R3, =0x5388\n"
 535                 "LDR     R2, [R3]\n"
 536                 "MOV     R3, R0,LSL#16\n"
 537                 "CMP     R2, #1\n"
 538                 "MOV     R1, #0x110\n"
 539                 "LDR     R0, =0xFFC973D8\n"  //aShutter_c
 540                 "MOV     R4, R3,ASR#16\n"
 541                 "BEQ     loc_FFC97A64\n"
 542                 "BL      sub_FFC03AD0\n"  //DebugAssert
 543 "loc_FFC97A64:\n"
 544                 "MOV     R1, #0x114\n"
 545                 "CMN     R4, #0xC00\n"
 546                 "LDR     R3, =0x3609E\n"
 547                 "LDR     R0, =0xFFC973D8\n"  //aShutter_c
 548                 "ADD     R1, R1, #2\n"
 549                 "LDREQSH R4, [R3]\n"
 550                 "LDRNE   R3, =0x3609E\n"
 551                 "CMN     R4, #0xC00\n"
 552                 "STRH    R4, [R3]\n"
 553                 "BNE     loc_FFC97A90\n"
 554                 "BL      sub_FFC03AD0\n"  //DebugAssert
 555 "loc_FFC97A90:\n"
 556                 "MOV     R0, R4\n"
 557                 "BL      apex2us\n"  //sub_FFC98B74  //---------->
 558                 "BL      sub_FFC96FCC\n"
 559                 "TST     R0, #1\n"
 560                 "MOV     R1, #0x118\n"
 561                 "LDR     R0, =0xFFC973D8\n"  //aShutter_c
 562                 "LDMEQFD SP!, {R4,PC}\n"
 563                 "LDMFD   SP!, {R4,LR}\n"
 564                 "B       sub_FFC03AD0\n"  //DebugAssert
 565     );
 566 }

/* [<][>][^][v][top][bottom][index][help] */