{"type": "func", "start": 4759412, "end": 4759598, "name": "EditorUI::playtestStopped", "pseudocode": "// \n// EditorUI::playtestStopped from 0x489f74 to 0x48a02e (186 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::postUpdate @ 0x46ae1c\n// > EditorUI::onStopPlaytest @ 0x48a066\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:28 +0000\n// \n\ncocos2d::CCNode *__fastcall EditorUI::playtestStopped(EditorUI *this)\n{\n  int v2; // r0\n  float *v3; // r5\n  float v4; // s16\n  float v5; // r0\n  void (__fastcall *v6)(float *, int); // r6\n  float v7; // s16\n  cocos2d::CCSpriteFrameCache *v8; // r0\n  int v9; // r0\n  cocos2d::CCNode *result; // r0\n\n  EditorUI::showUI((cocos2d::CCArray **)this, 1);\n  v2 = *((_DWORD *)this + 180);\n  *((_DWORD *)this + 121) = -1;\n  *((_DWORD *)this + 122) = -1;\n  v3 = (float *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 536))(v2);\n  v4 = v3[86];\n  v5 = (*(float (__fastcall **)(float *))(*(_DWORD *)v3 + 84))(v3);\n  v6 = *(void (__fastcall **)(float *, int))(*(_DWORD *)v3 + 580);\n  v7 = v4 * v5;\n  v8 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache((cocos2d::CCSpriteFrameCache *)LODWORD(v5));\n  v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, \"GJ_playEditorBtn_001.png\");\n  v6(v3, v9);\n  (*(void (__fastcall **)(float *, _DWORD))(*(_DWORD *)v3 + 80))(v3, v7 / v3[86]);\n  (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 181) + 172))(*((_DWORD *)this + 181), 0);\n  EditorUI::updatePlaybackBtn(this);\n  EditorUI::updateZoom(this, *((float *)this + 262));\n  result = *((cocos2d::CCNode **)this + 253);\n  if ( result )\n  {\n    cocos2d::CCNode::stopAllActions(result);\n    (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 253) + 512))(*((_DWORD *)this + 253), 0);\n    return (cocos2d::CCNode *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 253) + 172))(\n                                *((_DWORD *)this + 253),\n                                0);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::playtestStopped from 0x489f74 to 0x48a02e (186 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::postUpdate @ 0x46ae1c\n; > EditorUI::onStopPlaytest @ 0x48a066\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:28 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x489f74\nMOVS            R1, #1; bool                                           ; +0x2, 0x489f76\nVPUSH           {D8}                                                   ; +0x4, 0x489f78\nMOV             R4, R0                                                 ; +0x8, 0x489f7c\nBL              _ZN8EditorUI6showUIEb; EditorUI::showUI(bool)          ; +0xa, 0x489f7e\nLDR.W           R0, [R4,#0x2D0]                                        ; +0xe, 0x489f82\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x12, 0x489f86\nSTR.W           R3, [R4,#0x1E4]                                        ; +0x16, 0x489f8a\nSTR.W           R3, [R4,#0x1E8]                                        ; +0x1a, 0x489f8e\nLDR             R3, [R0]                                               ; +0x1e, 0x489f92\nLDR.W           R3, [R3,#0x218]                                        ; +0x20, 0x489f94\nBLX             R3                                                     ; +0x24, 0x489f98\nLDR             R3, [R0]                                               ; +0x26, 0x489f9a\nMOV             R5, R0                                                 ; +0x28, 0x489f9c\nVLDR            S16, [R0,#0x158]                                       ; +0x2a, 0x489f9e\nLDR             R3, [R3,#0x54]                                         ; +0x2e, 0x489fa2\nBLX             R3                                                     ; +0x30, 0x489fa4\nLDR             R3, [R5]                                               ; +0x32, 0x489fa6\nLDR.W           R6, [R3,#0x244]                                        ; +0x34, 0x489fa8\nVMOV            S15, R0; this                                          ; +0x38, 0x489fac\nVMUL.F32        S16, S16, S15                                          ; +0x3c, 0x489fb0\nBL              _ZN7cocos2d18CCSpriteFrameCache22sharedSpriteFrameCacheEv; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x40, 0x489fb4\nLDR             R1, =(aGjPlayeditorbt - 0x489FBE); \"GJ_playEditorBtn_001.png\" ; +0x44, 0x489fb8\nADD             R1, PC; \"GJ_playEditorBtn_001.png\"                     ; +0x46, 0x489fba\nBL              _ZN7cocos2d18CCSpriteFrameCache17spriteFrameByNameEPKc; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const*) ; +0x48, 0x489fbc\nMOV             R1, R0                                                 ; +0x4c, 0x489fc0\nMOV             R0, R5                                                 ; +0x4e, 0x489fc2\nBLX             R6                                                     ; +0x50, 0x489fc4\nVLDR            S15, [R5,#0x158]                                       ; +0x52, 0x489fc6\nLDR             R3, [R5]                                               ; +0x56, 0x489fca\nMOV             R0, R5                                                 ; +0x58, 0x489fcc\nVDIV.F32        S15, S16, S15                                          ; +0x5a, 0x489fce\nLDR             R3, [R3,#0x50]                                         ; +0x5e, 0x489fd2\nVMOV            R1, S15                                                ; +0x60, 0x489fd4\nBLX             R3                                                     ; +0x64, 0x489fd8\nLDR.W           R0, [R4,#0x2D4]                                        ; +0x66, 0x489fda\nMOVS            R1, #0                                                 ; +0x6a, 0x489fde\nLDR             R3, [R0]                                               ; +0x6c, 0x489fe0\nLDR.W           R3, [R3,#0xAC]                                         ; +0x6e, 0x489fe2\nBLX             R3                                                     ; +0x72, 0x489fe6\nMOV             R0, R4; this                                           ; +0x74, 0x489fe8\nBL              _ZN8EditorUI17updatePlaybackBtnEv; EditorUI::updatePlaybackBtn(void) ; +0x76, 0x489fea\nADD.W           R3, R4, #0x418                                         ; +0x7a, 0x489fee\nMOV             R0, R4; this                                           ; +0x7e, 0x489ff2\nLDR             R1, [R3]; float                                        ; +0x80, 0x489ff4\nBL              _ZN8EditorUI10updateZoomEf; EditorUI::updateZoom(float) ; +0x82, 0x489ff6\nLDR.W           R0, [R4,#0x3F4]; this                                  ; +0x86, 0x489ffa\nCBZ             R0, loc_48A028                                         ; +0x8a, 0x489ffe\nBL              _ZN7cocos2d6CCNode14stopAllActionsEv; cocos2d::CCNode::stopAllActions(void) ; +0x8c, 0x48a000\nLDR.W           R0, [R4,#0x3F4]                                        ; +0x90, 0x48a004\nMOVS            R1, #0                                                 ; +0x94, 0x48a008\nLDR             R3, [R0]                                               ; +0x96, 0x48a00a\nLDR.W           R3, [R3,#0x200]                                        ; +0x98, 0x48a00c\nBLX             R3                                                     ; +0x9c, 0x48a010\nLDR.W           R0, [R4,#0x3F4]                                        ; +0x9e, 0x48a012\nVPOP            {D8}                                                   ; +0xa2, 0x48a016\nMOVS            R1, #0                                                 ; +0xa6, 0x48a01a\nLDR             R3, [R0]                                               ; +0xa8, 0x48a01c\nPOP.W           {R4-R6,LR}                                             ; +0xaa, 0x48a01e\nLDR.W           R3, [R3,#0xAC]                                         ; +0xae, 0x48a022\nBX              R3                                                     ; +0xb2, 0x48a026\nVPOP            {D8}                                                   ; +0xb4, 0x48a028\nPOP             {R4-R6,PC}                                             ; +0xb8, 0x48a02c", "xrefs": ["LevelEditorLayer::postUpdate @ 0x46ae1c", "EditorUI::onStopPlaytest @ 0x48a066"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}