{"type": "func", "start": 4297024676, "end": 4297024856, "name": "GJBaseGameLayer::resetStoppedAreaObjects", "pseudocode": "// \n// GJBaseGameLayer::resetStoppedAreaObjects from 0x1001f64a4 to 0x1001f6558 (180 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::onStopPlaytest @ 0x100363258\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\nvoid __fastcall GJBaseGameLayer::resetStoppedAreaObjects(GJBaseGameLayer *a1)\n{\n  __int64 v2; // x21\n  GameObject *v3; // x20\n\n  if ( a1->m_areaObjectsCount >= 1 )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = a1->m_areaObjects.__begin_[v2];\n      v3->m_isDirty = 1;\n      *(_WORD *)&v3->m_isObjectRectDirty = 257;\n      if ( GJBaseGameLayer::resetAreaObjectValues(a1, v3, 0) )\n        ((void (__fastcall *)(GJBaseGameLayer *, GameObject *))a1->updateObjectSection)(a1, v3);\n      ((void (__fastcall *)(GameObject *, float))v3->setRRotation)(v3, 0.0);\n      ((void (__fastcall *)(GameObject *, float))v3->setRScale)(v3, 1.0);\n      ++v2;\n    }\n    while ( v2 < a1->m_areaObjectsCount );\n  }\n}", "assembly": "; \n; GJBaseGameLayer::resetStoppedAreaObjects from 0x1001f64a4 to 0x1001f6558 (180 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::onStopPlaytest @ 0x100363258\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\nLDR             W8, [X0,#0xDF4]                                        ; +0x0, 0x1001f64a4\nCMP             W8, #1                                                 ; +0x4, 0x1001f64a8\nB.LT            locret_1001F6554                                       ; +0x8, 0x1001f64ac\nSTP             X24, X23, [SP,#var_40]!                                ; +0xc, 0x1001f64b0\nSTP             X22, X21, [SP,#0x40+var_30]                            ; +0x10, 0x1001f64b4\nSTP             X20, X19, [SP,#0x40+var_20]                            ; +0x14, 0x1001f64b8\nSTP             X29, X30, [SP,#0x40+var_10]                            ; +0x18, 0x1001f64bc\nADD             X29, SP, #0x40+var_10                                  ; +0x1c, 0x1001f64c0\nMOV             X19, X0                                                ; +0x20, 0x1001f64c4\nMOV             X21, #0                                                ; +0x24, 0x1001f64c8\nMOV             W22, #1                                                ; +0x28, 0x1001f64cc\nMOV             W23, #0x101                                            ; +0x2c, 0x1001f64d0\nLDR             X8, [X19,#0xD50]                                       ; +0x30, 0x1001f64d4\nLDR             X20, [X8,X21,LSL#3]                                    ; +0x34, 0x1001f64d8\nSTRB            W22, [X20,#0x348]                                      ; +0x38, 0x1001f64dc\nSTRH            W23, [X20,#0x360]                                      ; +0x3c, 0x1001f64e0\nMOV             X0, X19                                                ; +0x40, 0x1001f64e4\nMOV             X1, X20                                                ; +0x44, 0x1001f64e8\nMOV             W2, #0                                                 ; +0x48, 0x1001f64ec\nBL              GJBaseGameLayer__resetAreaObjectValues                 ; +0x4c, 0x1001f64f0\nCBZ             W0, loc_1001F650C                                      ; +0x50, 0x1001f64f4\nLDR             X8, [X19]                                              ; +0x54, 0x1001f64f8\nLDR             X8, [X8,#0x528]                                        ; +0x58, 0x1001f64fc\nMOV             X0, X19                                                ; +0x5c, 0x1001f6500\nMOV             X1, X20                                                ; +0x60, 0x1001f6504\nBLR             X8                                                     ; +0x64, 0x1001f6508\nLDR             X8, [X20]                                              ; +0x68, 0x1001f650c\nLDR             X8, [X8,#0x5B8]                                        ; +0x6c, 0x1001f6510\nFMOV            S0, WZR                                                ; +0x70, 0x1001f6514\nMOV             X0, X20                                                ; +0x74, 0x1001f6518\nBLR             X8                                                     ; +0x78, 0x1001f651c\nLDR             X8, [X20]                                              ; +0x7c, 0x1001f6520\nLDR             X8, [X8,#0x5A0]                                        ; +0x80, 0x1001f6524\nFMOV            S0, #1.0                                               ; +0x84, 0x1001f6528\nMOV             X0, X20                                                ; +0x88, 0x1001f652c\nBLR             X8                                                     ; +0x8c, 0x1001f6530\nADD             X21, X21, #1                                           ; +0x90, 0x1001f6534\nLDRSW           X8, [X19,#0xDF4]                                       ; +0x94, 0x1001f6538\nCMP             X21, X8                                                ; +0x98, 0x1001f653c\nB.LT            loc_1001F64D4                                          ; +0x9c, 0x1001f6540\nLDP             X29, X30, [SP,#0x40+var_10]                            ; +0xa0, 0x1001f6544\nLDP             X20, X19, [SP,#0x40+var_20]                            ; +0xa4, 0x1001f6548\nLDP             X22, X21, [SP,#0x40+var_30]                            ; +0xa8, 0x1001f654c\nLDP             X24, X23, [SP+0x40+var_40],#0x40                       ; +0xac, 0x1001f6550\nRET                                                                    ; +0xb0, 0x1001f6554", "xrefs": ["LevelEditorLayer::onStopPlaytest @ 0x100363258"], "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"}