{"type": "func", "start": 5279116, "end": 5279144, "name": "EditorPauseLayer::onControls", "pseudocode": "// \n// EditorPauseLayer::onControls from 0x508d8c to 0x508da8 (28 bytes)\n// \n// 0 xrefs:\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:51:26 +0000\n// \n\nint __fastcall EditorPauseLayer::onControls(EditorPauseLayer *this, cocos2d::CCObject *a2, bool a3)\n{\n  int v3; // r0\n\n  v3 = PlatformerControlsPopup::create(\n         *(PlatformerControlsPopup **)(*((_DWORD *)this + 114) + 1408),\n         (GJGameLevel *)((char *)&dword_0 + 1),\n         a3);\n  return (*(int (__fastcall **)(int))(*(_DWORD *)v3 + 656))(v3);\n}", "assembly": "; \n; EditorPauseLayer::onControls from 0x508d8c to 0x508da8 (28 bytes)\n; \n; 0 xrefs:\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:51:26 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x508d8c\nMOVS            R1, #(dword_0+1); GJGameLevel *                        ; +0x2, 0x508d8e\nLDR.W           R3, [R0,#0x1C8]                                        ; +0x4, 0x508d90\nLDR.W           R0, [R3,#0x580]; this                                  ; +0x8, 0x508d94\nBL              _ZN23PlatformerControlsPopup6createEP11GJGameLevelb; PlatformerControlsPopup::create(GJGameLevel *,bool) ; +0xc, 0x508d98\nPOP.W           {R4,LR}                                                ; +0x10, 0x508d9c\nLDR             R3, [R0]                                               ; +0x14, 0x508da0\nLDR.W           R3, [R3,#0x290]                                        ; +0x16, 0x508da2\nBX              R3                                                     ; +0x1a, 0x508da6", "xrefs": [], "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"}