{"type": "func", "start": 4297664328, "end": 4297664508, "name": "GJBaseGameLayer::resetStoppedAreaObjects", "pseudocode": "// \n// GJBaseGameLayer::resetStoppedAreaObjects from 0x100292748 to 0x1002927fc (180 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::onStopPlaytest @ 0x100405294\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:02:04 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::resetStoppedAreaObjects(__int64 result)\n{\n  _DWORD *v1; // x19\n  __int64 v2; // x21\n  __int64 v3; // x20\n\n  if ( *(int *)(result + 3564) >= 1 )\n  {\n    v1 = (_DWORD *)result;\n    v2 = 0;\n    do\n    {\n      v3 = *(_QWORD *)(*((_QWORD *)v1 + 425) + 8 * v2);\n      *(_BYTE *)(v3 + 840) = 1;\n      *(_WORD *)(v3 + 864) = 257;\n      if ( GJBaseGameLayer::resetAreaObjectValues(v1, v3, 0) )\n        (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)v1 + 1368LL))(v1, v3);\n      (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 1480LL))(v3, 0.0);\n      result = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 1456LL))(v3, 1.0);\n      ++v2;\n    }\n    while ( v2 < (int)v1[891] );\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::resetStoppedAreaObjects from 0x100292748 to 0x1002927fc (180 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::onStopPlaytest @ 0x100405294\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:02:04 +0000\n; \nLDR             W8, [X0,#0xDEC]                                        ; +0x0, 0x100292748\nCMP             W8, #1                                                 ; +0x4, 0x10029274c\nB.LT            locret_1002927F8                                       ; +0x8, 0x100292750\nSTP             X24, X23, [SP,#var_40]!                                ; +0xc, 0x100292754\nSTP             X22, X21, [SP,#0x40+var_30]                            ; +0x10, 0x100292758\nSTP             X20, X19, [SP,#0x40+var_20]                            ; +0x14, 0x10029275c\nSTP             X29, X30, [SP,#0x40+var_10]                            ; +0x18, 0x100292760\nADD             X29, SP, #0x40+var_10                                  ; +0x1c, 0x100292764\nMOV             X19, X0                                                ; +0x20, 0x100292768\nMOV             X21, #0                                                ; +0x24, 0x10029276c\nMOV             W22, #1                                                ; +0x28, 0x100292770\nMOV             W23, #0x101                                            ; +0x2c, 0x100292774\nLDR             X8, [X19,#0xD48]                                       ; +0x30, 0x100292778\nLDR             X20, [X8,X21,LSL#3]                                    ; +0x34, 0x10029277c\nSTRB            W22, [X20,#0x348]                                      ; +0x38, 0x100292780\nSTRH            W23, [X20,#0x360]                                      ; +0x3c, 0x100292784\nMOV             X0, X19                                                ; +0x40, 0x100292788\nMOV             X1, X20                                                ; +0x44, 0x10029278c\nMOV             W2, #0                                                 ; +0x48, 0x100292790\nBL              GJBaseGameLayer__resetAreaObjectValues                 ; +0x4c, 0x100292794\nCBZ             W0, loc_1002927B0                                      ; +0x50, 0x100292798\nLDR             X8, [X19]                                              ; +0x54, 0x10029279c\nLDR             X8, [X8,#0x558]                                        ; +0x58, 0x1002927a0\nMOV             X0, X19                                                ; +0x5c, 0x1002927a4\nMOV             X1, X20                                                ; +0x60, 0x1002927a8\nBLR             X8                                                     ; +0x64, 0x1002927ac\nLDR             X8, [X20]                                              ; +0x68, 0x1002927b0\nLDR             X8, [X8,#0x5C8]                                        ; +0x6c, 0x1002927b4\nFMOV            S0, WZR                                                ; +0x70, 0x1002927b8\nMOV             X0, X20                                                ; +0x74, 0x1002927bc\nBLR             X8                                                     ; +0x78, 0x1002927c0\nLDR             X8, [X20]                                              ; +0x7c, 0x1002927c4\nLDR             X8, [X8,#0x5B0]                                        ; +0x80, 0x1002927c8\nFMOV            S0, #1.0                                               ; +0x84, 0x1002927cc\nMOV             X0, X20                                                ; +0x88, 0x1002927d0\nBLR             X8                                                     ; +0x8c, 0x1002927d4\nADD             X21, X21, #1                                           ; +0x90, 0x1002927d8\nLDRSW           X8, [X19,#0xDEC]                                       ; +0x94, 0x1002927dc\nCMP             X21, X8                                                ; +0x98, 0x1002927e0\nB.LT            loc_100292778                                          ; +0x9c, 0x1002927e4\nLDP             X29, X30, [SP,#0x40+var_10]                            ; +0xa0, 0x1002927e8\nLDP             X20, X19, [SP,#0x40+var_20]                            ; +0xa4, 0x1002927ec\nLDP             X22, X21, [SP,#0x40+var_30]                            ; +0xa8, 0x1002927f0\nLDP             X24, X23, [SP+0x40+var_40],#0x40                       ; +0xac, 0x1002927f4\nRET                                                                    ; +0xb0, 0x1002927f8", "xrefs": ["LevelEditorLayer::onStopPlaytest @ 0x100405294"], "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"}