{"type": "func", "start": 312178, "end": 312238, "name": "sub_4C372", "pseudocode": "// \n// sub_4C372 from 0x4c372 to 0x4c3ae (60 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:41 +0000\n// \n\nint __fastcall sub_4C372(_DWORD *a1, unsigned int a2, int a3)\n{\n  int v4; // r0\n  int result; // r0\n\n  v4 = a1[83];\n  if ( !v4 || !a1[4] )\n    return 30;\n  if ( *(unsigned __int8 *)(v4 + 34) << 31 )\n    return 58;\n  result = sub_47CF2((int)a1, a2, a3);\n  if ( !result )\n    return (*(int (__fastcall **)(_DWORD *, unsigned int))(*a1 + 60))(a1, a2);\n  return result;\n}", "assembly": "; \n; sub_4C372 from 0x4c372 to 0x4c3ae (60 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:41 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x4c372\nADD             R7, SP, #8                                             ; +0x2, 0x4c374\nMOV             R5, R0                                                 ; +0x4, 0x4c376\nLDR.W           R0, [R0,#0x14C]                                        ; +0x6, 0x4c378\nCBZ             R0, loc_4C398                                          ; +0xa, 0x4c37c\nMOV             R4, R1                                                 ; +0xc, 0x4c37e\nLDR             R1, [R5,#0x10]                                         ; +0xe, 0x4c380\nCBZ             R1, loc_4C398                                          ; +0x10, 0x4c382\nLDRB.W          R0, [R0,#0x22]                                         ; +0x12, 0x4c384\nLSLS            R0, R0, #0x1F                                          ; +0x16, 0x4c388\nBNE             loc_4C39C                                              ; +0x18, 0x4c38a\nMOV             R0, R5                                                 ; +0x1a, 0x4c38c\nMOV             R1, R4                                                 ; +0x1c, 0x4c38e\nBL              sub_47CF2                                              ; +0x1e, 0x4c390\nCBZ             R0, loc_4C3A0                                          ; +0x22, 0x4c394\nPOP             {R4,R5,R7,PC}                                          ; +0x24, 0x4c396\nMOVS            R0, #0x1E                                              ; +0x26, 0x4c398\nPOP             {R4,R5,R7,PC}                                          ; +0x28, 0x4c39a\nMOVS            R0, #0x3A ; ':'                                        ; +0x2a, 0x4c39c\nPOP             {R4,R5,R7,PC}                                          ; +0x2c, 0x4c39e\nLDR             R0, [R5]                                               ; +0x2e, 0x4c3a0\nMOV             R1, R4                                                 ; +0x30, 0x4c3a2\nLDR             R2, [R0,#0x3C]                                         ; +0x32, 0x4c3a4\nMOV             R0, R5                                                 ; +0x34, 0x4c3a6\nPOP.W           {R4,R5,R7,LR}                                          ; +0x36, 0x4c3a8\nBX              R2                                                     ; +0x3a, 0x4c3ac", "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"}