{"type": "func", "start": 595244, "end": 595286, "name": "sub_9152C", "pseudocode": "// \n// sub_9152C from 0x9152c to 0x91556 (42 bytes)\n// \n// 1 xrefs:\n// > sub_923B6 @ 0x923b8\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_9152C(int a1, int a2, int a3, unsigned int a4)\n{\n  unsigned int v4; // r1\n  int result; // r0\n\n  v4 = *(_DWORD *)(a1 + 376);\n  if ( !v4 )\n    return 0;\n  result = sub_5C7EA(*(_DWORD *)(a1 + 128) + 1264, v4, 1, a4);\n  if ( !result )\n  {\n    result = 0;\n    *(_DWORD *)(a1 + 376) = 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_9152C from 0x9152c to 0x91556 (42 bytes)\n; \n; 1 xrefs:\n; > sub_923B6 @ 0x923b8\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,R6,R7,LR}                                          ; +0x0, 0x9152c\nADD             R7, SP, #8                                             ; +0x2, 0x9152e\nLDR.W           R1, [R0,#0x178]                                        ; +0x4, 0x91530\nCBZ             R1, loc_9154A                                          ; +0x8, 0x91534\nMOV             R4, R0                                                 ; +0xa, 0x91536\nLDR.W           R0, [R0,#0x80]                                         ; +0xc, 0x91538\nMOVS            R2, #1                                                 ; +0x10, 0x9153c\nADD.W           R0, R0, #0x4F0                                         ; +0x12, 0x9153e\nBL              sub_5C7EA                                              ; +0x16, 0x91542\nCBZ             R0, loc_9154E                                          ; +0x1a, 0x91546\nPOP             {R4,R6,R7,PC}                                          ; +0x1c, 0x91548\nMOVS            R0, #0                                                 ; +0x1e, 0x9154a\nPOP             {R4,R6,R7,PC}                                          ; +0x20, 0x9154c\nMOVS            R0, #0                                                 ; +0x22, 0x9154e\nSTR.W           R0, [R4,#0x178]                                        ; +0x24, 0x91550\nPOP             {R4,R6,R7,PC}                                          ; +0x28, 0x91554", "xrefs": ["sub_923B6 @ 0x923b8"], "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"}