{"type": "func", "start": 7279368, "end": 7279536, "name": "EditorUI::scrollWheel", "pseudocode": "// \n// EditorUI::scrollWheel from 0x6f1308 to 0x6f13b0 (168 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::scrollWheel @ 0x6f13b8\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:35 +0000\n// \n\nint __fastcall EditorUI::scrollWheel(EditorUI *this, float a2, float a3)\n{\n  int v6; // r0\n  GameManager *v7; // r0\n  _BOOL4 v8; // r1\n  int result; // r0\n  float v10; // s14\n\n  if ( *(_DWORD *)(*((_DWORD *)this + 236) + 1428) == 1 )\n    return 0;\n  v6 = cocos2d::CCDirector::sharedDirector(this);\n  v7 = (GameManager *)(*(int (__fastcall **)(int))(*(_DWORD *)v6 + 96))(v6);\n  if ( *((_BYTE *)v7 + 89) )\n  {\n    v8 = a2 <= 0.0 && a3 <= 0.0;\n    EditorUI::zoomGameLayer(this, v8);\n    return 1;\n  }\n  else\n  {\n    v10 = *(float *)(GameManager::sharedState(v7) + 888);\n    *((float *)this + 271) = *((float *)this + 271) + (float)(a3 * v10);\n    *((float *)this + 272) = *((float *)this + 272) + (float)(a2 * v10);\n    result = *((unsigned __int8 *)this + 1092);\n    if ( !*((_BYTE *)this + 1092) )\n    {\n      cocos2d::CCNode::schedule(this, EditorUI::updatePanDecay, *((unsigned __int8 *)this + 1092));\n      *((_BYTE *)this + 1092) = 1;\n      return 1;\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::scrollWheel from 0x6f1308 to 0x6f13b0 (168 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::scrollWheel @ 0x6f13b8\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:35 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x6f1308\nMOV             R4, R0                                                 ; +0x2, 0x6f130a\nVPUSH           {D8}                                                   ; +0x4, 0x6f130c\nVMOV            S16, R1                                                ; +0x8, 0x6f1310\nLDR.W           R3, [R0,#0x3B0]                                        ; +0xc, 0x6f1314\nSUB             SP, SP, #8                                             ; +0x10, 0x6f1318\nVMOV            S17, R2                                                ; +0x12, 0x6f131a\nLDR.W           R3, [R3,#0x594]                                        ; +0x16, 0x6f131e\nCMP             R3, #1                                                 ; +0x1a, 0x6f1322\nBEQ             loc_6F13A6                                             ; +0x1c, 0x6f1324\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x1e, 0x6f1326\nLDR             R3, [R0]                                               ; +0x22, 0x6f132a\nLDR             R3, [R3,#0x60]                                         ; +0x24, 0x6f132c\nBLX             R3                                                     ; +0x26, 0x6f132e\nLDRB.W          R3, [R0,#0x59]                                         ; +0x28, 0x6f1330\nCBZ             R3, loc_6F135A                                         ; +0x2c, 0x6f1334\nVCMPE.F32       S16, #0.0                                              ; +0x2e, 0x6f1336\nMOV             R0, R4; this                                           ; +0x32, 0x6f133a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x34, 0x6f133c\nBGT             loc_6F134C                                             ; +0x38, 0x6f1340\nVCMPE.F32       S17, #0.0                                              ; +0x3a, 0x6f1342\nVMRS            APSR_nzcv, FPSCR                                       ; +0x3e, 0x6f1346\nBLE             loc_6F1350                                             ; +0x42, 0x6f134a\nMOVS            R1, #0                                                 ; +0x44, 0x6f134c\nB               loc_6F1352                                             ; +0x46, 0x6f134e\nMOVS            R1, #1; bool                                           ; +0x48, 0x6f1350\nBL              _ZN8EditorUI13zoomGameLayerEb; EditorUI::zoomGameLayer(bool) ; +0x4a, 0x6f1352\nMOVS            R0, #1                                                 ; +0x4e, 0x6f1356\nB               loc_6F13A8                                             ; +0x50, 0x6f1358\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x52, 0x6f135a\nADDW            R3, R4, #0x43C                                         ; +0x56, 0x6f135e\nVLDR            S15, [R3]                                              ; +0x5a, 0x6f1362\nVLDR            S14, [R0,#0x378]                                       ; +0x5e, 0x6f1366\nVMLA.F32        S15, S17, S14                                          ; +0x62, 0x6f136a\nVSTR            S15, [R3]                                              ; +0x66, 0x6f136e\nADD.W           R3, R4, #0x440                                         ; +0x6a, 0x6f1372\nVLDR            S15, [R3]                                              ; +0x6e, 0x6f1376\nVMLA.F32        S15, S16, S14                                          ; +0x72, 0x6f137a\nVSTR            S15, [R3]                                              ; +0x76, 0x6f137e\nLDRB.W          R0, [R4,#0x444]                                        ; +0x7a, 0x6f1382\nCBNZ            R0, loc_6F13A8                                         ; +0x7e, 0x6f1386\nLDR             R3, =(_ZN8EditorUI14updatePanDecayEf_ptr - 0x6F1392)   ; +0x80, 0x6f1388\nSTR             R0, [SP,#8+var_4]                                      ; +0x82, 0x6f138a\nMOV             R0, R4                                                 ; +0x84, 0x6f138c\nADD             R3, PC; _ZN8EditorUI14updatePanDecayEf_ptr             ; +0x86, 0x6f138e\nLDR             R3, [R3]; EditorUI::updatePanDecay(float)              ; +0x88, 0x6f1390\nSTR             R3, [SP,#8+var_8]                                      ; +0x8a, 0x6f1392\nADD             R3, SP, #8+var_s0                                      ; +0x8c, 0x6f1394\nLDMDB.W         R3, {R1,R2}                                            ; +0x8e, 0x6f1396\nBL              _ZN7cocos2d6CCNode8scheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float)) ; +0x92, 0x6f139a\nMOVS            R0, #1                                                 ; +0x96, 0x6f139e\nSTRB.W          R0, [R4,#0x444]                                        ; +0x98, 0x6f13a0\nB               loc_6F13A8                                             ; +0x9c, 0x6f13a4\nMOVS            R0, #0                                                 ; +0x9e, 0x6f13a6\nADD             SP, SP, #8                                             ; +0xa0, 0x6f13a8\nVPOP            {D8}                                                   ; +0xa2, 0x6f13aa\nPOP             {R4,PC}                                                ; +0xa6, 0x6f13ae", "xrefs": ["`non-virtual thunk to'EditorUI::scrollWheel @ 0x6f13b8"], "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"}