{"type": "func", "start": 4338752, "end": 4338914, "name": "CustomSFXCell::draw", "pseudocode": "// \n// CustomSFXCell::draw from 0x423440 to 0x4234e2 (162 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:48:02 +0000\n// \n\nint __fastcall CustomSFXCell::draw(CustomSFXCell *this)\n{\n  const cocos2d::CCPoint *v1; // r2\n  const cocos2d::CCPoint *v2; // r2\n  unsigned __int8 v4; // [sp+0h] [bp-20h]\n  float v5; // [sp+4h] [bp-1Ch] BYREF\n  float v6; // [sp+8h] [bp-18h]\n  _BYTE v7[8]; // [sp+Ch] [bp-14h] BYREF\n  _BYTE v8[8]; // [sp+14h] [bp-Ch] BYREF\n\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v5, *((float *)this + 100), *((float *)this + 101));\n  cocos2d::ccDrawColor4B(nullptr, 0, 0, 0x4Bu, v4);\n  glLineWidth(2.0);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, 1.0, v6);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, v5 - 1.0, v6);\n  cocos2d::ccDrawLine((cocos2d *)v7, (const cocos2d::CCPoint *)v8, v1);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, 1.0, 0.0);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, v5 - 1.0, 0.0);\n  return cocos2d::ccDrawLine((cocos2d *)v7, (const cocos2d::CCPoint *)v8, v2);\n}", "assembly": "; \n; CustomSFXCell::draw from 0x423440 to 0x4234e2 (162 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:48:02 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x423440\nMOV             R3, R0                                                 ; +0x2, 0x423442\nVPUSH           {D8}                                                   ; +0x4, 0x423444\nLDR             R5, =(__stack_chk_guard_ptr - 0x42344E)                ; +0x8, 0x423448\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xa, 0x42344a\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xc, 0x42344c\nVMOV.F32        S16, #1.0                                              ; +0xe, 0x42344e\nSUB             SP, SP, #0x20; unsigned __int8                         ; +0x12, 0x423452\nLDR.W           R1, [R3,#0x190]; float                                 ; +0x14, 0x423454\nLDR             R2, [R5]                                               ; +0x18, 0x423458\nADD             R0, SP, #0x20+var_1C; this                             ; +0x1a, 0x42345a\nADD             R6, SP, #0x20+var_14                                   ; +0x1c, 0x42345c\nADD             R4, SP, #0x20+var_C                                    ; +0x1e, 0x42345e\nSTR             R2, [SP,#0x20+var_4]                                   ; +0x20, 0x423460\nLDR.W           R2, [R3,#0x194]; float                                 ; +0x22, 0x423462\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x26, 0x423466\nMOVS            R0, #0; this                                           ; +0x2a, 0x42346a\nMOVS            R3, #0x4B ; 'K'; unsigned __int8                       ; +0x2c, 0x42346c\nMOV             R1, R0; unsigned __int8                                ; +0x2e, 0x42346e\nMOV             R2, R0; unsigned __int8                                ; +0x30, 0x423470\nBL              _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x32, 0x423472\nMOV.W           R0, #0x40000000; width                                 ; +0x36, 0x423476\nBLX             glLineWidth                                            ; +0x3a, 0x42347a\nMOV.W           R1, #0x3F800000; float                                 ; +0x3e, 0x42347e\nLDR             R2, [SP,#0x20+var_18]; float                           ; +0x42, 0x423482\nMOV             R0, R6; this                                           ; +0x44, 0x423484\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x46, 0x423486\nVLDR            S15, [SP,#0x20+var_1C]                                 ; +0x4a, 0x42348a\nLDR             R2, [SP,#0x20+var_18]; float                           ; +0x4e, 0x42348e\nMOV             R0, R4; this                                           ; +0x50, 0x423490\nVSUB.F32        S15, S15, S16                                          ; +0x52, 0x423492\nVMOV            R1, S15; float                                         ; +0x56, 0x423496\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x5a, 0x42349a\nMOV             R0, R6; this                                           ; +0x5e, 0x42349e\nMOV             R1, R4; cocos2d::CCPoint *                             ; +0x60, 0x4234a0\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x62, 0x4234a2\nVMOV            R1, S16; float                                         ; +0x66, 0x4234a6\nMOVS            R2, #0; float                                          ; +0x6a, 0x4234aa\nMOV             R0, R6; this                                           ; +0x6c, 0x4234ac\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x6e, 0x4234ae\nVLDR            S15, [SP,#0x20+var_1C]                                 ; +0x72, 0x4234b2\nMOVS            R2, #0; float                                          ; +0x76, 0x4234b6\nMOV             R0, R4; this                                           ; +0x78, 0x4234b8\nVSUB.F32        S15, S15, S16                                          ; +0x7a, 0x4234ba\nVMOV            R1, S15; float                                         ; +0x7e, 0x4234be\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x82, 0x4234c2\nMOV             R0, R6; this                                           ; +0x86, 0x4234c6\nMOV             R1, R4; cocos2d::CCPoint *                             ; +0x88, 0x4234c8\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x8a, 0x4234ca\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x8e, 0x4234ce\nLDR             R3, [R5]                                               ; +0x90, 0x4234d0\nCMP             R2, R3                                                 ; +0x92, 0x4234d2\nBEQ             loc_4234DA                                             ; +0x94, 0x4234d4\nBLX             __stack_chk_fail                                       ; +0x96, 0x4234d6\nADD             SP, SP, #0x20 ; ' '                                    ; +0x9a, 0x4234da\nVPOP            {D8}                                                   ; +0x9c, 0x4234dc\nPOP             {R4-R6,PC}                                             ; +0xa0, 0x4234e0", "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"}