{"type": "func", "start": 4724296, "end": 4724386, "name": "EditorUI::getSpriteButton", "pseudocode": "// \n// EditorUI::getSpriteButton from 0x481648 to 0x4816a2 (90 bytes)\n// \n// 27 xrefs:\n// > EditorUI::init @ 0x48a662\n// > EditorUI::init @ 0x48a6c6\n// > EditorUI::init @ 0x48a768\n// > EditorUI::init @ 0x48a7cc\n// > EditorUI::init @ 0x48a97c\n// > EditorUI::init @ 0x48a9d8\n// > EditorUI::init @ 0x48a9fc\n// > EditorUI::createMoveMenu @ 0x6f7492\n// > EditorUI::createMoveMenu @ 0x6f74c2\n// > EditorUI::createMoveMenu @ 0x6f74f4\n// > EditorUI::createMoveMenu @ 0x6f7528\n// > EditorUI::createMoveMenu @ 0x6f7554\n// > EditorUI::createMoveMenu @ 0x6f7580\n// > EditorUI::createMoveMenu @ 0x6f75ac\n// > EditorUI::createMoveMenu @ 0x6f75d8\n// > EditorUI::createMoveMenu @ 0x6f7604\n// > EditorUI::createMoveMenu @ 0x6f7630\n// > EditorUI::createMoveMenu @ 0x6f765c\n// > EditorUI::createMoveMenu @ 0x6f7688\n// > EditorUI::createMoveMenu @ 0x6f76b2\n// > EditorUI::createMoveMenu @ 0x6f76da\n// > EditorUI::createMoveMenu @ 0x6f774c\n// > EditorUI::createMoveMenu @ 0x6f7778\n// > EditorUI::createMoveMenu @ 0x6f7804\n// > EditorUI::createMoveMenu @ 0x6f782e\n// > EditorUI::createMoveMenu @ 0x6f7858\n// > EditorUI::createMoveMenu @ 0x6f7882\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:22 +0000\n// \n\n_DWORD *__fastcall EditorUI::getSpriteButton(int a1, cocos2d::CCSprite *a2, int a3, int a4, int a5, int a6)\n{\n  _BYTE v11[8]; // [sp+24h] [bp-10h] BYREF\n\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, (const cocos2d::CCPoint *)&flt_D2B938);\n  return EditorUI::getSpriteButton(a1, a2, a3, a4, a5, a6, 1, (const cocos2d::CCPoint *)v11, 0.0);\n}", "assembly": "; \n; EditorUI::getSpriteButton from 0x481648 to 0x4816a2 (90 bytes)\n; \n; 27 xrefs:\n; > EditorUI::init @ 0x48a662\n; > EditorUI::init @ 0x48a6c6\n; > EditorUI::init @ 0x48a768\n; > EditorUI::init @ 0x48a7cc\n; > EditorUI::init @ 0x48a97c\n; > EditorUI::init @ 0x48a9d8\n; > EditorUI::init @ 0x48a9fc\n; > EditorUI::createMoveMenu @ 0x6f7492\n; > EditorUI::createMoveMenu @ 0x6f74c2\n; > EditorUI::createMoveMenu @ 0x6f74f4\n; > EditorUI::createMoveMenu @ 0x6f7528\n; > EditorUI::createMoveMenu @ 0x6f7554\n; > EditorUI::createMoveMenu @ 0x6f7580\n; > EditorUI::createMoveMenu @ 0x6f75ac\n; > EditorUI::createMoveMenu @ 0x6f75d8\n; > EditorUI::createMoveMenu @ 0x6f7604\n; > EditorUI::createMoveMenu @ 0x6f7630\n; > EditorUI::createMoveMenu @ 0x6f765c\n; > EditorUI::createMoveMenu @ 0x6f7688\n; > EditorUI::createMoveMenu @ 0x6f76b2\n; > EditorUI::createMoveMenu @ 0x6f76da\n; > EditorUI::createMoveMenu @ 0x6f774c\n; > EditorUI::createMoveMenu @ 0x6f7778\n; > EditorUI::createMoveMenu @ 0x6f7804\n; > EditorUI::createMoveMenu @ 0x6f782e\n; > EditorUI::createMoveMenu @ 0x6f7858\n; > EditorUI::createMoveMenu @ 0x6f7882\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:22 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x481648\nSUB             SP, SP, #0x34                                          ; +0x4, 0x48164c\nLDR             R4, =(__stack_chk_guard_ptr - 0x48165A)                ; +0x6, 0x48164e\nADD             R5, SP, #0x34+var_1C                                   ; +0x8, 0x481650\nMOV             R7, R1                                                 ; +0xa, 0x481652\nADD             R6, SP, #0x34+var_10                                   ; +0xc, 0x481654\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x481656\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x481658\nSTM.W           R5, {R2,R3}                                            ; +0x12, 0x48165a\nLDR             R1, =(flt_D2B938 - 0x48166A)                           ; +0x16, 0x48165e\nMOV             R8, R0                                                 ; +0x18, 0x481660\nLDR             R3, [R4]                                               ; +0x1a, 0x481662\nMOV             R0, R6; this                                           ; +0x1c, 0x481664\nADD             R1, PC; flt_D2B938 ; cocos2d::CCPoint *                ; +0x1e, 0x481666\nLDR.W           R9, [SP,#0x34+arg_0]                                   ; +0x20, 0x481668\nSTR             R3, [SP,#0x34+var_8]                                   ; +0x24, 0x48166c\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x26, 0x48166e\nLDR             R3, [SP,#0x34+arg_4]                                   ; +0x2a, 0x481672\nMOV             R0, R8; int                                            ; +0x2c, 0x481674\nSTR.W           R9, [SP,#0x34+var_34]; int                             ; +0x2e, 0x481676\nMOV             R1, R7; int                                            ; +0x32, 0x48167a\nSTR             R6, [SP,#0x34+var_28]; int                             ; +0x34, 0x48167c\nSTR             R3, [SP,#0x34+var_30]; int                             ; +0x36, 0x48167e\nMOVS            R3, #1                                                 ; +0x38, 0x481680\nSTR             R3, [SP,#0x34+var_2C]; int                             ; +0x3a, 0x481682\nMOVS            R3, #0                                                 ; +0x3c, 0x481684\nSTR             R3, [SP,#0x34+var_24]; float                           ; +0x3e, 0x481686\nLDM.W           R5, {R2,R3}; int                                       ; +0x40, 0x481688\nBL              _ZN8EditorUI15getSpriteButtonEPKcMN7cocos2d8CCObjectEFvPS3_EPNS2_6CCMenuEfiNS2_7CCPointEf; EditorUI::getSpriteButton(char const*,void (cocos2d::CCObject::*)(cocos2d::CCObject*),cocos2d::CCMenu *,float,int,cocos2d::CCPoint,float) ; +0x44, 0x48168c\nLDR             R2, [SP,#0x34+var_8]                                   ; +0x48, 0x481690\nLDR             R3, [R4]                                               ; +0x4a, 0x481692\nCMP             R2, R3                                                 ; +0x4c, 0x481694\nBEQ             loc_48169C                                             ; +0x4e, 0x481696\nBLX             __stack_chk_fail                                       ; +0x50, 0x481698\nADD             SP, SP, #0x34 ; '4'                                    ; +0x54, 0x48169c\nPOP.W           {R4-R9,PC}                                             ; +0x56, 0x48169e", "xrefs": ["EditorUI::init @ 0x48a662", "EditorUI::init @ 0x48a6c6", "EditorUI::init @ 0x48a768", "EditorUI::init @ 0x48a7cc", "EditorUI::init @ 0x48a97c", "EditorUI::init @ 0x48a9d8", "EditorUI::init @ 0x48a9fc", "EditorUI::createMoveMenu @ 0x6f7492", "EditorUI::createMoveMenu @ 0x6f74c2", "EditorUI::createMoveMenu @ 0x6f74f4", "EditorUI::createMoveMenu @ 0x6f7528", "EditorUI::createMoveMenu @ 0x6f7554", "EditorUI::createMoveMenu @ 0x6f7580", "EditorUI::createMoveMenu @ 0x6f75ac", "EditorUI::createMoveMenu @ 0x6f75d8", "EditorUI::createMoveMenu @ 0x6f7604", "EditorUI::createMoveMenu @ 0x6f7630", "EditorUI::createMoveMenu @ 0x6f765c", "EditorUI::createMoveMenu @ 0x6f7688", "EditorUI::createMoveMenu @ 0x6f76b2", "EditorUI::createMoveMenu @ 0x6f76da", "EditorUI::createMoveMenu @ 0x6f774c", "EditorUI::createMoveMenu @ 0x6f7778", "EditorUI::createMoveMenu @ 0x6f7804", "EditorUI::createMoveMenu @ 0x6f782e", "EditorUI::createMoveMenu @ 0x6f7858", "EditorUI::createMoveMenu @ 0x6f7882"], "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"}