{"type": "func", "start": 7307338, "end": 7307398, "name": "EditorUI::onDpadStep", "pseudocode": "// \n// EditorUI::onDpadStep from 0x6f804a to 0x6f8086 (60 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:57:40 +0000\n// \n\n_DWORD *__fastcall EditorUI::onDpadStep(EditorUI *this, cocos2d::CCObject *a2)\n{\n  EditorSFXManager *v3; // r0\n  unsigned int v4; // r5\n  EditorSFXManager *v6; // r0\n\n  v3 = (EditorSFXManager *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);\n  v4 = (unsigned int)v3;\n  if ( v3 == (EditorSFXManager *)((char *)&dword_0 + 2) && *((_DWORD *)this + 265) == 2 )\n    return EditorUI::toggleWindow(this, 5u);\n  v6 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);\n  EditorSFXManager::playAction(v6, 189);\n  return (_DWORD *)EditorUI::setDpadStep((int)this, v4);\n}", "assembly": "; \n; EditorUI::onDpadStep from 0x6f804a to 0x6f8086 (60 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:57:40 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x6f804a\nMOV             R4, R0                                                 ; +0x2, 0x6f804c\nLDR             R3, [R1]                                               ; +0x4, 0x6f804e\nMOV             R0, R1                                                 ; +0x6, 0x6f8050\nLDR             R3, [R3,#0x20]                                         ; +0x8, 0x6f8052\nBLX             R3                                                     ; +0xa, 0x6f8054\nCMP             R0, #2                                                 ; +0xc, 0x6f8056\nMOV             R5, R0                                                 ; +0xe, 0x6f8058\nBNE             loc_6F8070                                             ; +0x10, 0x6f805a\nLDR.W           R3, [R4,#0x424]                                        ; +0x12, 0x6f805c\nCMP             R3, #2                                                 ; +0x16, 0x6f8060\nBNE             loc_6F8070                                             ; +0x18, 0x6f8062\nMOV             R0, R4; this                                           ; +0x1a, 0x6f8064\nMOVS            R1, #5; int                                            ; +0x1c, 0x6f8066\nPOP.W           {R3-R5,LR}                                             ; +0x1e, 0x6f8068\nB.W             _ZN8EditorUI12toggleWindowEi; EditorUI::toggleWindow(int) ; +0x22, 0x6f806c\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x26, 0x6f8070\nMOVS            R1, #0xBD; int                                         ; +0x2a, 0x6f8074\nBL              _ZN16EditorSFXManager10playActionEi; EditorSFXManager::playAction(int) ; +0x2c, 0x6f8076\nMOV             R0, R4; this                                           ; +0x30, 0x6f807a\nMOV             R1, R5; int                                            ; +0x32, 0x6f807c\nPOP.W           {R3-R5,LR}                                             ; +0x34, 0x6f807e\nB.W             _ZN8EditorUI11setDpadStepEi; EditorUI::setDpadStep(int) ; +0x38, 0x6f8082", "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"}