{"type": "func", "start": 4337912, "end": 4338074, "name": "AchievementCell::draw", "pseudocode": "// \n// AchievementCell::draw from 0x4230f8 to 0x42319a (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 AchievementCell::draw(AchievementCell *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; AchievementCell::draw from 0x4230f8 to 0x42319a (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, 0x4230f8\nMOV             R3, R0                                                 ; +0x2, 0x4230fa\nVPUSH           {D8}                                                   ; +0x4, 0x4230fc\nLDR             R5, =(__stack_chk_guard_ptr - 0x423106)                ; +0x8, 0x423100\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xa, 0x423102\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xc, 0x423104\nVMOV.F32        S16, #1.0                                              ; +0xe, 0x423106\nSUB             SP, SP, #0x20; unsigned __int8                         ; +0x12, 0x42310a\nLDR.W           R1, [R3,#0x190]; float                                 ; +0x14, 0x42310c\nLDR             R2, [R5]                                               ; +0x18, 0x423110\nADD             R0, SP, #0x20+var_1C; this                             ; +0x1a, 0x423112\nADD             R6, SP, #0x20+var_14                                   ; +0x1c, 0x423114\nADD             R4, SP, #0x20+var_C                                    ; +0x1e, 0x423116\nSTR             R2, [SP,#0x20+var_4]                                   ; +0x20, 0x423118\nLDR.W           R2, [R3,#0x194]; float                                 ; +0x22, 0x42311a\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x26, 0x42311e\nMOVS            R0, #0; this                                           ; +0x2a, 0x423122\nMOVS            R3, #0x4B ; 'K'; unsigned __int8                       ; +0x2c, 0x423124\nMOV             R1, R0; unsigned __int8                                ; +0x2e, 0x423126\nMOV             R2, R0; unsigned __int8                                ; +0x30, 0x423128\nBL              _ZN7cocos2d13ccDrawColor4BEhhhh; cocos2d::ccDrawColor4B(uchar,uchar,uchar,uchar) ; +0x32, 0x42312a\nMOV.W           R0, #0x40000000; width                                 ; +0x36, 0x42312e\nBLX             glLineWidth                                            ; +0x3a, 0x423132\nMOV.W           R1, #0x3F800000; float                                 ; +0x3e, 0x423136\nLDR             R2, [SP,#0x20+var_18]; float                           ; +0x42, 0x42313a\nMOV             R0, R6; this                                           ; +0x44, 0x42313c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x46, 0x42313e\nVLDR            S15, [SP,#0x20+var_1C]                                 ; +0x4a, 0x423142\nLDR             R2, [SP,#0x20+var_18]; float                           ; +0x4e, 0x423146\nMOV             R0, R4; this                                           ; +0x50, 0x423148\nVSUB.F32        S15, S15, S16                                          ; +0x52, 0x42314a\nVMOV            R1, S15; float                                         ; +0x56, 0x42314e\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x5a, 0x423152\nMOV             R0, R6; this                                           ; +0x5e, 0x423156\nMOV             R1, R4; cocos2d::CCPoint *                             ; +0x60, 0x423158\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x62, 0x42315a\nVMOV            R1, S16; float                                         ; +0x66, 0x42315e\nMOVS            R2, #0; float                                          ; +0x6a, 0x423162\nMOV             R0, R6; this                                           ; +0x6c, 0x423164\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x6e, 0x423166\nVLDR            S15, [SP,#0x20+var_1C]                                 ; +0x72, 0x42316a\nMOVS            R2, #0; float                                          ; +0x76, 0x42316e\nMOV             R0, R4; this                                           ; +0x78, 0x423170\nVSUB.F32        S15, S15, S16                                          ; +0x7a, 0x423172\nVMOV            R1, S15; float                                         ; +0x7e, 0x423176\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x82, 0x42317a\nMOV             R0, R6; this                                           ; +0x86, 0x42317e\nMOV             R1, R4; cocos2d::CCPoint *                             ; +0x88, 0x423180\nBL              _ZN7cocos2d10ccDrawLineERKNS_7CCPointES2_; cocos2d::ccDrawLine(cocos2d::CCPoint const&,cocos2d::CCPoint const&) ; +0x8a, 0x423182\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x8e, 0x423186\nLDR             R3, [R5]                                               ; +0x90, 0x423188\nCMP             R2, R3                                                 ; +0x92, 0x42318a\nBEQ             loc_423192                                             ; +0x94, 0x42318c\nBLX             __stack_chk_fail                                       ; +0x96, 0x42318e\nADD             SP, SP, #0x20 ; ' '                                    ; +0x9a, 0x423192\nVPOP            {D8}                                                   ; +0x9c, 0x423194\nPOP             {R4-R6,PC}                                             ; +0xa0, 0x423198", "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"}