{"type": "func", "start": 4297614388, "end": 4297614508, "name": "GJBaseGameLayer::processStateObjects", "pseudocode": "// \n// GJBaseGameLayer::processStateObjects from 0x100286434 to 0x1002864ac (120 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::update @ 0x10029af60\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:01:58 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::processStateObjects(__int64 result)\n{\n  __int64 *v1; // x20\n  __int64 v2; // x19\n  _BYTE *v3; // x21\n\n  v1 = *(__int64 **)(result + 1280);\n  if ( v1 )\n  {\n    v2 = result;\n    do\n    {\n      while ( 1 )\n      {\n        v3 = (_BYTE *)v1[3];\n        result = sub_100300330(v3, *(unsigned int *)(v2 + 944));\n        if ( (v3[760] & 1) == 0 )\n          break;\n        v1 = (__int64 *)*v1;\n        if ( !v1 )\n          return result;\n      }\n      (*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v3 + 1840LL))(v3, v2);\n      result = sub_100019534((_QWORD *)(v2 + 1264), v1);\n      v1 = (__int64 *)result;\n    }\n    while ( result );\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::processStateObjects from 0x100286434 to 0x1002864ac (120 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::update @ 0x10029af60\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:01:58 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100286434\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100286438\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10028643c\nADD             X29, SP, #0x20                                         ; +0xc, 0x100286440\nLDR             X20, [X0,#0x500]                                       ; +0x10, 0x100286444\nCBZ             X20, loc_10028649C                                     ; +0x14, 0x100286448\nMOV             X19, X0                                                ; +0x18, 0x10028644c\nLDR             X21, [X20,#0x18]                                       ; +0x1c, 0x100286450\nLDR             W1, [X19,#0x3B0]                                       ; +0x20, 0x100286454\nMOV             X0, X21                                                ; +0x24, 0x100286458\nBL              sub_100300330                                          ; +0x28, 0x10028645c\nLDRB            W8, [X21,#0x2F8]                                       ; +0x2c, 0x100286460\nTBZ             W8, #0, loc_100286474                                  ; +0x30, 0x100286464\nLDR             X20, [X20]                                             ; +0x34, 0x100286468\nCBNZ            X20, loc_100286450                                     ; +0x38, 0x10028646c\nB               loc_10028649C                                          ; +0x3c, 0x100286470\nLDR             X8, [X21]                                              ; +0x40, 0x100286474\nLDR             X8, [X8,#0x730]                                        ; +0x44, 0x100286478\nMOV             X0, X21                                                ; +0x48, 0x10028647c\nMOV             X1, X19                                                ; +0x4c, 0x100286480\nBLR             X8                                                     ; +0x50, 0x100286484\nADD             X0, X19, #0x4F0                                        ; +0x54, 0x100286488\nMOV             X1, X20                                                ; +0x58, 0x10028648c\nBL              sub_100019534                                          ; +0x5c, 0x100286490\nMOV             X20, X0                                                ; +0x60, 0x100286494\nCBNZ            X20, loc_100286450                                     ; +0x64, 0x100286498\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x68, 0x10028649c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x6c, 0x1002864a0\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x70, 0x1002864a4\nRET                                                                    ; +0x74, 0x1002864a8", "xrefs": ["GJBaseGameLayer::update @ 0x10029af60"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}