{"type": "func", "start": 4706072, "end": 4706164, "name": "GJBaseGameLayer::resetStoppedAreaObjects", "pseudocode": "// \n// GJBaseGameLayer::resetStoppedAreaObjects from 0x47cf18 to 0x47cf74 (92 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::onStopPlaytest @ 0x369252\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 GJBaseGameLayer::resetStoppedAreaObjects(GJBaseGameLayer *a1)\n{\n  int i; // r6\n  GameObject *v3; // r4\n\n  for ( i = 0; i < a1->m_areaObjectsCount; ++i )\n  {\n    v3 = a1->m_areaObjects.m_start[i];\n    v3->m_isDirty = 1;\n    v3->m_isObjectRectDirty = 1;\n    v3->m_isOrientedBoxDirty = 1;\n    if ( GJBaseGameLayer::resetAreaObjectValues(a1, v3, 0) )\n      a1->updateObjectSection(a1, v3);\n    ((void (__fastcall *)(GameObject *, _DWORD))v3->setRRotation)(v3, 0);\n    ((void (__fastcall *)(GameObject *, int))v3->setRScale)(v3, 1065353216);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::resetStoppedAreaObjects from 0x47cf18 to 0x47cf74 (92 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::onStopPlaytest @ 0x369252\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            {R3-R7,LR}                                             ; +0x0, 0x47cf18\nMOV             R5, R0                                                 ; +0x2, 0x47cf1a\nMOVS            R6, #0                                                 ; +0x4, 0x47cf1c\nMOVS            R7, #1                                                 ; +0x6, 0x47cf1e\nLDR.W           R3, [R5,#0x964]                                        ; +0x8, 0x47cf20\nCMP             R6, R3                                                 ; +0xc, 0x47cf24\nBGE             locret_47CF72                                          ; +0xe, 0x47cf26\nLDR.W           R3, [R5,#0x8FC]                                        ; +0x10, 0x47cf28\nMOV             R0, R5; this                                           ; +0x14, 0x47cf2c\nMOVS            R2, #0; bool                                           ; +0x16, 0x47cf2e\nLDR.W           R4, [R3,R6,LSL#2]                                      ; +0x18, 0x47cf30\nSTRB.W          R7, [R4,#0x2BC]                                        ; +0x1c, 0x47cf34\nMOV             R1, R4; GameObject *                                   ; +0x20, 0x47cf38\nSTRB.W          R7, [R4,#0x2D4]                                        ; +0x22, 0x47cf3a\nSTRB.W          R7, [R4,#0x2D5]                                        ; +0x26, 0x47cf3e\nBL              _ZN15GJBaseGameLayer21resetAreaObjectValuesEP10GameObjectb; GJBaseGameLayer::resetAreaObjectValues(GameObject *,bool) ; +0x2a, 0x47cf42\nCBZ             R0, loc_47CF54                                         ; +0x2e, 0x47cf46\nLDR             R3, [R5]                                               ; +0x30, 0x47cf48\nMOV             R0, R5                                                 ; +0x32, 0x47cf4a\nMOV             R1, R4                                                 ; +0x34, 0x47cf4c\nLDR.W           R3, [R3,#0x294]                                        ; +0x36, 0x47cf4e\nBLX             R3                                                     ; +0x3a, 0x47cf52\nLDR             R3, [R4]                                               ; +0x3c, 0x47cf54\nMOV             R0, R4                                                 ; +0x3e, 0x47cf56\nMOVS            R1, #0                                                 ; +0x40, 0x47cf58\nADDS            R6, #1                                                 ; +0x42, 0x47cf5a\nLDR.W           R3, [R3,#0x2DC]                                        ; +0x44, 0x47cf5c\nBLX             R3                                                     ; +0x48, 0x47cf60\nLDR             R3, [R4]                                               ; +0x4a, 0x47cf62\nMOV             R0, R4                                                 ; +0x4c, 0x47cf64\nMOV.W           R1, #0x3F800000                                        ; +0x4e, 0x47cf66\nLDR.W           R3, [R3,#0x2D0]                                        ; +0x52, 0x47cf6a\nBLX             R3                                                     ; +0x56, 0x47cf6e\nB               loc_47CF20                                             ; +0x58, 0x47cf70\nPOP             {R3-R7,PC}                                             ; +0x5a, 0x47cf72", "xrefs": ["LevelEditorLayer::onStopPlaytest @ 0x369252"], "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"}