{"type": "func", "start": 338376, "end": 338412, "name": "sub_529C8", "pseudocode": "// \n// sub_529C8 from 0x529c8 to 0x529ec (36 bytes)\n// \n// 2 xrefs:\n// > sub_52968 @ 0x52970\n// > sub_530C0 @ 0x530c6\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_529C8(int a1)\n{\n  int result; // r0\n\n  result = sub_53278();\n  if ( !result )\n  {\n    result = sub_530DC(a1 + 12);\n    if ( !result )\n    {\n      *(_DWORD *)(a1 + 24) = -1;\n      *(_DWORD *)(a1 + 28) = 0;\n      return 0;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_529C8 from 0x529c8 to 0x529ec (36 bytes)\n; \n; 2 xrefs:\n; > sub_52968 @ 0x52970\n; > sub_530C0 @ 0x530c6\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, 0x529c8\nADD             R7, SP, #8                                             ; +0x2, 0x529ca\nMOV             R4, R0                                                 ; +0x4, 0x529cc\nBL              sub_53278                                              ; +0x6, 0x529ce\nCBNZ            R0, locret_529DE                                       ; +0xa, 0x529d2\nADD.W           R0, R4, #0xC                                           ; +0xc, 0x529d4\nBL              sub_530DC                                              ; +0x10, 0x529d8\nCBZ             R0, loc_529E0                                          ; +0x14, 0x529dc\nPOP             {R4,R6,R7,PC}                                          ; +0x16, 0x529de\nMOVS            R0, #0                                                 ; +0x18, 0x529e0\nMOV.W           R1, #0xFFFFFFFF                                        ; +0x1a, 0x529e2\nSTRD.W          R1, R0, [R4,#0x18]                                     ; +0x1e, 0x529e6\nPOP             {R4,R6,R7,PC}                                          ; +0x22, 0x529ea", "xrefs": ["sub_52968 @ 0x52970", "sub_530C0 @ 0x530c6"], "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"}