{"type": "func", "start": 286376, "end": 286446, "name": "sub_45EA8", "pseudocode": "// \n// sub_45EA8 from 0x45ea8 to 0x45eee (70 bytes)\n// \n// 0 xrefs:\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:37 +0000\n// \n\nint __fastcall sub_45EA8(_DWORD *a1, _DWORD *a2)\n{\n  _DWORD *v2; // r2\n  int v3; // r4\n  int result; // r0\n\n  if ( !a2 )\n    return 31;\n  v2 = (_DWORD *)a1[131];\n  if ( v2 || (v2 = (_DWORD *)a1[130]) != nullptr )\n  {\nLABEL_4:\n    v3 = 106;\n    if ( v2[108] > v2[109] )\n      v3 = 107;\n    *a2 = v2[v3];\n    return 0;\n  }\n  if ( a1[115] )\n  {\n    v2 = a1 + 20;\n    goto LABEL_4;\n  }\n  result = sub_44D62((int)a1, a2);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_45EA8 from 0x45ea8 to 0x45eee (70 bytes)\n; \n; 0 xrefs:\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:37 +0000\n; \nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0x45ea8\nADD             R7, SP, #8                                             ; +0x2, 0x45eaa\nCBZ             R1, loc_45ED4                                          ; +0x4, 0x45eac\nLDR.W           R2, [R0,#0x20C]                                        ; +0x6, 0x45eae\nCBNZ            R2, loc_45EBA                                          ; +0xa, 0x45eb2\nLDR.W           R2, [R0,#0x208]                                        ; +0xc, 0x45eb4\nCBZ             R2, loc_45ED8                                          ; +0x10, 0x45eb8\nCBZ             R2, loc_45EE4                                          ; +0x12, 0x45eba\nLDRD.W          R0, R3, [R2,#0x1B0]                                    ; +0x14, 0x45ebc\nMOV.W           R4, #0x1A8                                             ; +0x18, 0x45ec0\nCMP             R0, R3                                                 ; +0x1c, 0x45ec4\nIT HI                                                                  ; +0x1e, 0x45ec6\nMOVHI.W         R4, #0x1AC                                             ; +0x20, 0x45ec8\nLDR             R0, [R2,R4]                                            ; +0x24, 0x45ecc\nSTR             R0, [R1]                                               ; +0x26, 0x45ece\nMOVS            R0, #0                                                 ; +0x28, 0x45ed0\nPOP             {R4,R6,R7,PC}                                          ; +0x2a, 0x45ed2\nMOVS            R0, #0x1F                                              ; +0x2c, 0x45ed4\nPOP             {R4,R6,R7,PC}                                          ; +0x2e, 0x45ed6\nLDR.W           R2, [R0,#0x1CC]                                        ; +0x30, 0x45ed8\nCBZ             R2, loc_45EE4                                          ; +0x34, 0x45edc\nADD.W           R2, R0, #0x50 ; 'P'                                    ; +0x36, 0x45ede\nB               loc_45EBC                                              ; +0x3a, 0x45ee2\nBL              sub_44D62                                              ; +0x3c, 0x45ee4\nCMP             R0, #0                                                 ; +0x40, 0x45ee8\nBEQ             loc_45ED0                                              ; +0x42, 0x45eea\nPOP             {R4,R6,R7,PC}                                          ; +0x44, 0x45eec", "xrefs": [], "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"}