{"type": "func", "start": 412504, "end": 412588, "name": "sub_64B58", "pseudocode": "// \n// sub_64B58 from 0x64b58 to 0x64bac (84 bytes)\n// \n// 1 xrefs:\n// > sub_58CA8 @ 0x58e94\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:40:54 +0000\n// \n\nint __fastcall sub_64B58(int a1)\n{\n  int v1; // r4\n  int i; // r5\n  int result; // r0\n  int v4; // [sp+4h] [bp-24h] BYREF\n  float *v5; // [sp+8h] [bp-20h] BYREF\n  int v6; // [sp+Ch] [bp-1Ch] BYREF\n\n  v1 = a1 + 69816;\n  for ( i = 1; i != 9; ++i )\n  {\n    v5 = nullptr;\n    v6 = 0;\n    v4 = 0;\n    sub_60A9C(i, &v6, &v4, &v5, nullptr);\n    result = sub_5F130(v1, v6, v4, v5);\n    v1 += 132;\n    if ( result )\n      return result;\n  }\n  return 0;\n}", "assembly": "; \n; sub_64B58 from 0x64b58 to 0x64bac (84 bytes)\n; \n; 1 xrefs:\n; > sub_58CA8 @ 0x58e94\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:40:54 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x64b58\nADD             R7, SP, #0xC                                           ; +0x2, 0x64b5a\nPUSH.W          {R4-R10}                                               ; +0x4, 0x64b5c\nLDR             R1, =0x110B8                                           ; +0x8, 0x64b60\nADD.W           R8, SP, #0x10+var_4                                    ; +0xa, 0x64b62\nADD.W           R9, SP, #0x10+var_C                                    ; +0xe, 0x64b66\nADD.W           R10, SP, #0x10+var_8                                   ; +0x12, 0x64b6a\nADDS            R4, R0, R1                                             ; +0x16, 0x64b6e\nMOVS            R5, #1                                                 ; +0x18, 0x64b70\nMOVS            R6, #0                                                 ; +0x1a, 0x64b72\nCMP             R5, #9                                                 ; +0x1c, 0x64b74\nBEQ             loc_64BA2                                              ; +0x1e, 0x64b76\nMOV             R0, R5                                                 ; +0x20, 0x64b78\nMOV             R1, R8                                                 ; +0x22, 0x64b7a\nMOV             R2, R9                                                 ; +0x24, 0x64b7c\nMOV             R3, R10                                                ; +0x26, 0x64b7e\nSTRD.W          R6, R6, [SP,#0x10+var_8]                               ; +0x28, 0x64b80\nSTRD.W          R6, R6, [SP,#0x10+var_10]                              ; +0x2c, 0x64b84\nBL              sub_60A9C                                              ; +0x30, 0x64b88\nLDRD.W          R2, R3, [SP,#0x10+var_C]                               ; +0x34, 0x64b8c\nMOV             R0, R4                                                 ; +0x38, 0x64b90\nLDR             R1, [SP,#0x10+var_4]                                   ; +0x3a, 0x64b92\nBL              sub_5F130                                              ; +0x3c, 0x64b94\nADDS            R4, #0x84                                              ; +0x40, 0x64b98\nADDS            R5, #1                                                 ; +0x42, 0x64b9a\nCMP             R0, #0                                                 ; +0x44, 0x64b9c\nBEQ             loc_64B74                                              ; +0x46, 0x64b9e\nB               loc_64BA4                                              ; +0x48, 0x64ba0\nMOVS            R0, #0                                                 ; +0x4a, 0x64ba2\nADD             SP, SP, #0x10                                          ; +0x4c, 0x64ba4\nPOP.W           {R8-R10}                                               ; +0x4e, 0x64ba6\nPOP             {R4-R7,PC}                                             ; +0x52, 0x64baa", "xrefs": ["sub_58CA8 @ 0x58e94"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}