{"type": "func", "start": 4296292208, "end": 4296292364, "name": "GJBaseGameLayer::resetStoppedAreaObjects", "pseudocode": "// \n// GJBaseGameLayer::resetStoppedAreaObjects from 0x100143770 to 0x10014380c (156 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::onStopPlaytest @ 0x1000f2da2\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 v1; // r15\n  GameObject *v2; // r14\n\n  if ( a1->m_areaObjectsCount > 0 )\n  {\n    v1 = 0;\n    do\n    {\n      v2 = a1->m_areaObjects.__begin_[v1];\n      v2->m_isDirty = 1;\n      *(_WORD *)&v2->m_isObjectRectDirty = 257;\n      if ( GJBaseGameLayer::resetAreaObjectValues(a1, v2, 0) )\n        ((void (__fastcall *)(GJBaseGameLayer *, GameObject *))a1->updateObjectSection)(a1, v2);\n      ((void (__fastcall *)(GameObject *, double))v2->setRRotation)(v2, 0.0);\n      ((void (__fastcall *)(GameObject *, float))v2->setRScale)(v2, 1.0);\n      ++v1;\n    }\n    while ( v1 < a1->m_areaObjectsCount );\n  }\n}", "assembly": "; \n; GJBaseGameLayer::resetStoppedAreaObjects from 0x100143770 to 0x10014380c (156 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::onStopPlaytest @ 0x1000f2da2\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\ncmp     dword ptr [rdi+0DCCh], 0                                       ; +0x0, 0x100143770\njle     locret_10014380B                                               ; +0x7, 0x100143777\npush    rbp                                                            ; +0xd, 0x10014377d\nmov     rbp, rsp                                                       ; +0xe, 0x10014377e\npush    r15                                                            ; +0x11, 0x100143781\npush    r14                                                            ; +0x13, 0x100143783\npush    rbx                                                            ; +0x15, 0x100143785\npush    rax                                                            ; +0x16, 0x100143786\nmov     rbx, rdi                                                       ; +0x17, 0x100143787\nxor     r15d, r15d                                                     ; +0x1a, 0x10014378a\njmp     short loc_1001437C2                                            ; +0x1d, 0x10014378d\nalign 10h                                                              ; +0x1f, 0x10014378f\nmov     rax, [r14]                                                     ; +0x20, 0x100143790\nxorps   xmm0, xmm0                                                     ; +0x23, 0x100143793\nmov     rdi, r14                                                       ; +0x26, 0x100143796\ncall    qword ptr [rax+5B8h]                                           ; +0x29, 0x100143799\nmov     rax, [r14]                                                     ; +0x2f, 0x10014379f\nmov     rdi, r14                                                       ; +0x32, 0x1001437a2\nmovss   xmm0, cs:alpha                                                 ; +0x35, 0x1001437a5\ncall    qword ptr [rax+5A0h]                                           ; +0x3d, 0x1001437ad\ninc     r15                                                            ; +0x43, 0x1001437b3\nmovsxd  rax, dword ptr [rbx+0DCCh]                                     ; +0x46, 0x1001437b6\ncmp     r15, rax                                                       ; +0x4d, 0x1001437bd\njge     short loc_100143801                                            ; +0x50, 0x1001437c0\nmov     rax, [rbx+0D28h]                                               ; +0x52, 0x1001437c2\nmov     r14, [rax+r15*8]                                               ; +0x59, 0x1001437c9\nmov     byte ptr [r14+348h], 1                                         ; +0x5d, 0x1001437cd\nmov     word ptr [r14+360h], 101h                                      ; +0x65, 0x1001437d5\nmov     rdi, rbx                                                       ; +0x6f, 0x1001437df\nmov     rsi, r14                                                       ; +0x72, 0x1001437e2\nxor     edx, edx                                                       ; +0x75, 0x1001437e5\ncall    GJBaseGameLayer__resetAreaObjectValues                         ; +0x77, 0x1001437e7\ntest    al, al                                                         ; +0x7c, 0x1001437ec\njz      short loc_100143790                                            ; +0x7e, 0x1001437ee\nmov     rax, [rbx]                                                     ; +0x80, 0x1001437f0\nmov     rdi, rbx                                                       ; +0x83, 0x1001437f3\nmov     rsi, r14                                                       ; +0x86, 0x1001437f6\ncall    qword ptr [rax+520h]                                           ; +0x89, 0x1001437f9\njmp     short loc_100143790                                            ; +0x8f, 0x1001437ff\nadd     rsp, 8                                                         ; +0x91, 0x100143801\npop     rbx                                                            ; +0x95, 0x100143805\npop     r14                                                            ; +0x96, 0x100143806\npop     r15                                                            ; +0x98, 0x100143808\npop     rbp                                                            ; +0x9a, 0x10014380a\nretn                                                                   ; +0x9b, 0x10014380b", "xrefs": ["LevelEditorLayer::onStopPlaytest @ 0x1000f2da2"], "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"}