{"type": "func", "start": 413090, "end": 413188, "name": "sub_64DA2", "pseudocode": "// \n// sub_64DA2 from 0x64da2 to 0x64e04 (98 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall sub_64DA2(int a1, int a2, float a3, float a4, float a5, float a6, float a7, int a8, float *a9)\n{\n  int result; // r0\n  int v13; // r0\n  int v14; // [sp+14h] [bp-14h] BYREF\n\n  result = 31;\n  if ( a9 && (unsigned int)(a8 - 1) <= 0x1F )\n  {\n    v13 = *(_DWORD *)(*(_DWORD *)a1 + 128);\n    v14 = 0;\n    result = sub_64BD4(v13, a2, &v14);\n    if ( !result )\n      return sub_60178((int *)v14, a3, a4, a5, a6, a7, a8, a9);\n  }\n  return result;\n}", "assembly": "; \n; sub_64DA2 from 0x64da2 to 0x64e04 (98 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R7,LR}                                             ; +0x0, 0x64da2\nADD             R7, SP, #0xC                                           ; +0x2, 0x64da4\nPUSH.W          {R8}                                                   ; +0x4, 0x64da6\nSUB             SP, SP, #0x18; float                                   ; +0x8, 0x64daa\nLDR             R6, [R7,#-0x10+arg_10]                                 ; +0xa, 0x64dac\nMOV             R5, R2                                                 ; +0xc, 0x64dae\nMOV             R2, R0                                                 ; +0xe, 0x64db0\nMOVS            R0, #0x1F                                              ; +0x10, 0x64db2\nCBZ             R6, loc_64DFC                                          ; +0x12, 0x64db4\nLDR.W           R8, [R7,#-0x10+arg_C]                                  ; +0x14, 0x64db6\nMOV             R4, R3                                                 ; +0x18, 0x64dba\nSUB.W           R3, R8, #1                                             ; +0x1a, 0x64dbc\nCMP             R3, #0x1F                                              ; +0x1e, 0x64dc0\nBHI             loc_64DFC                                              ; +0x20, 0x64dc2\nLDR             R0, [R2]                                               ; +0x22, 0x64dc4\nMOVS            R2, #0                                                 ; +0x24, 0x64dc6\nLDR.W           R0, [R0,#0x80]                                         ; +0x26, 0x64dc8\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x2a, 0x64dcc\nADD             R2, SP, #0x18+var_4                                    ; +0x2c, 0x64dce\nBL              sub_64BD4                                              ; +0x2e, 0x64dd0\nCBNZ            R0, loc_64DFC                                          ; +0x32, 0x64dd4\nVLDR            S4, [R7,#-0x10+arg_0]                                  ; +0x34, 0x64dd6\nMOV             R1, R5; int                                            ; +0x38, 0x64dda\nLDR             R0, [SP,#0x18+var_4]; int                              ; +0x3a, 0x64ddc\nMOV             R2, R4; int                                            ; +0x3c, 0x64dde\nVMOV            R3, S4; int                                            ; +0x3e, 0x64de0\nVLDR            S0, [R7,#-0x10+arg_8]                                  ; +0x42, 0x64de4\nVLDR            S2, [R7,#-0x10+arg_4]                                  ; +0x46, 0x64de8\nSTRD.W          R8, R6, [SP,#0x18+var_10]; int                         ; +0x4a, 0x64dec\nVSTR            S2, [SP,#0x18+var_18]                                  ; +0x4e, 0x64df0\nVSTR            S0, [SP,#0x18+var_14]                                  ; +0x52, 0x64df4\nBL              sub_60178                                              ; +0x56, 0x64df8\nADD             SP, SP, #0x18                                          ; +0x5a, 0x64dfc\nPOP.W           {R8}                                                   ; +0x5c, 0x64dfe\nPOP             {R4-R7,PC}                                             ; +0x60, 0x64e02", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}