{"type": "func", "start": 3335564, "end": 3335726, "name": "CustomSFXCell::draw", "pseudocode": "// \n// CustomSFXCell::draw from 0x32e58c to 0x32e62e (162 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CustomSFXCell::draw(CustomSFXCell *a1)\n{\n  cocos2d::CCSize v1; // [sp+4h] [bp-1Ch] BYREF\n  cocos2d::CCPoint v2; // [sp+Ch] [bp-14h] BYREF\n  cocos2d::CCPoint v3; // [sp+14h] [bp-Ch] BYREF\n\n  cocos2d::CCSize::CCSize(&v1, a1->m_width, a1->m_height);\n  cocos2d::ccDrawColor4B(0, 0, 0, 0x4Bu);\n  glLineWidth(2.0);\n  cocos2d::CCPoint::CCPoint(&v2, 1.0, v1.height);\n  cocos2d::CCPoint::CCPoint(&v3, v1.width - 1.0, v1.height);\n  cocos2d::ccDrawLine(&v2, &v3);\n  cocos2d::CCPoint::CCPoint(&v2, 1.0, 0.0);\n  cocos2d::CCPoint::CCPoint(&v3, v1.width - 1.0, 0.0);\n  cocos2d::ccDrawLine(&v2, &v3);\n}", "assembly": "; \n; CustomSFXCell::draw from 0x32e58c to 0x32e62e (162 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x32e58c\nMOV             R3, R0                                                 ; +0x2, 0x32e58e\nLDR             R5, =(__stack_chk_guard_ptr - 0x32E59A)                ; +0x4, 0x32e590\nVPUSH           {D8}                                                   ; +0x6, 0x32e592\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xa, 0x32e596\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xc, 0x32e598\nLDR.W           R1, [R3,#0x188]; float                                 ; +0xe, 0x32e59a\nLDR             R2, [R5]                                               ; +0x12, 0x32e59e\nVMOV.F32        S16, #1.0                                              ; +0x14, 0x32e5a0\nSUB             SP, SP, #0x20; unsigned __int8                         ; +0x18, 0x32e5a4\nADD             R0, SP, #0x20+var_1C; this                             ; +0x1a, 0x32e5a6\nADD             R6, SP, #0x20+var_14                                   ; +0x1c, 0x32e5a8\nSTR             R2, [SP,#0x20+var_4]                                   ; +0x1e, 0x32e5aa\nADD             R4, SP, #0x20+var_C                                    ; +0x20, 0x32e5ac\nLDR.W           R2, [R3,#0x18C]; float                                 ; +0x22, 0x32e5ae\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x26, 0x32e5b2\nMOVS            R0, #0; this                                           ; +0x2a, 0x32e5b6\nMOVS            R3, #0x4B ; 'K'; unsigned __int8                       ; +0x2c, 0x32e5b8\nMOV             R1, R0; unsigned __int8                                ; +0x2e, 0x32e5ba\nMOV             R2, R0; unsigned __int8                                ; +0x30, 0x32e5bc\nBL              _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x32, 0x32e5be\nMOV.W           R0, #0x40000000; width                                 ; +0x36, 0x32e5c2\nBLX             glLineWidth                                            ; +0x3a, 0x32e5c6\nMOV.W           R1, #0x3F800000; float                                 ; +0x3e, 0x32e5ca\nLDR             R2, [SP,#0x20+var_18]; float                           ; +0x42, 0x32e5ce\nMOV             R0, R6; this                                           ; +0x44, 0x32e5d0\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x46, 0x32e5d2\nVLDR            S15, [SP,#0x20+var_1C]                                 ; +0x4a, 0x32e5d6\nLDR             R2, [SP,#0x20+var_18]; float                           ; +0x4e, 0x32e5da\nMOV             R0, R4; this                                           ; +0x50, 0x32e5dc\nVSUB.F32        S15, S15, S16                                          ; +0x52, 0x32e5de\nVMOV            R1, S15; float                                         ; +0x56, 0x32e5e2\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x5a, 0x32e5e6\nMOV             R0, R6; this                                           ; +0x5e, 0x32e5ea\nMOV             R1, R4; cocos2d::CCPoint *                             ; +0x60, 0x32e5ec\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x62, 0x32e5ee\nVMOV            R1, S16; float                                         ; +0x66, 0x32e5f2\nMOVS            R2, #0; float                                          ; +0x6a, 0x32e5f6\nMOV             R0, R6; this                                           ; +0x6c, 0x32e5f8\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x6e, 0x32e5fa\nVLDR            S15, [SP,#0x20+var_1C]                                 ; +0x72, 0x32e5fe\nMOVS            R2, #0; float                                          ; +0x76, 0x32e602\nMOV             R0, R4; this                                           ; +0x78, 0x32e604\nVSUB.F32        S15, S15, S16                                          ; +0x7a, 0x32e606\nVMOV            R1, S15; float                                         ; +0x7e, 0x32e60a\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x82, 0x32e60e\nMOV             R0, R6; this                                           ; +0x86, 0x32e612\nMOV             R1, R4; cocos2d::CCPoint *                             ; +0x88, 0x32e614\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x8a, 0x32e616\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x8e, 0x32e61a\nLDR             R3, [R5]                                               ; +0x90, 0x32e61c\nCMP             R2, R3                                                 ; +0x92, 0x32e61e\nBEQ             loc_32E626                                             ; +0x94, 0x32e620\nBLX             __stack_chk_fail                                       ; +0x96, 0x32e622\nADD             SP, SP, #0x20 ; ' '                                    ; +0x9a, 0x32e626\nVPOP            {D8}                                                   ; +0x9c, 0x32e628\nPOP             {R4-R6,PC}                                             ; +0xa0, 0x32e62c", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}