{"type": "func", "start": 4085428, "end": 4085588, "name": "CCCircleAlert::init", "pseudocode": "// \n// CCCircleAlert::init from 0x3e56b4 to 0x3e5754 (160 bytes)\n// \n// 1 xrefs:\n// > CCCircleAlert::create @ 0x3e579c\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:47:04 +0000\n// \n\nint __fastcall CCCircleAlert::init(CCCircleAlert *this, char *a2, float a3, cocos2d::CCActionTween *a4)\n{\n  float v4; // s16\n  cocos2d::CCSpawn *v7; // r8\n  cocos2d::CCSequence *v8; // r9\n  cocos2d::CCFiniteTimeAction *v9; // r0\n  cocos2d::CCFiniteTimeAction *v10; // r0\n  cocos2d::CCDirector *v11; // r5\n  int v12; // r0\n  cocos2d::CCActionManager *v13; // r0\n  float v15; // [sp+0h] [bp-Ch]\n  float v16; // [sp+0h] [bp-Ch]\n\n  *((_DWORD *)this + 68) = a2;\n  *((_DWORD *)this + 69) = 0;\n  *((_WORD *)this + 140) = -1;\n  *((_BYTE *)this + 282) = -1;\n  v7 = (cocos2d::CCSpawn *)cocos2d::CCActionTween::create(a4, COERCE_FLOAT(\"radius\"), a2, a3, v4);\n  v8 = (cocos2d::CCSequence *)cocos2d::CCActionTween::create(\n                                COERCE_COCOS2D_CCACTIONTWEEN_(*(float *)&a4 - 0.3),\n                                COERCE_FLOAT(\"opacity\"),\n                                *((const char **)this + 69),\n                                150.0,\n                                v15);\n  v9 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCActionTween::create(\n                                        (cocos2d::CCActionTween *)0x3E99999A,\n                                        COERCE_FLOAT(\"opacity\"),\n                                        (const char *)0x43160000,\n                                        0.0,\n                                        v16);\n  v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCSequence::create(v8, v9, 0);\n  v11 = (cocos2d::CCDirector *)cocos2d::CCSpawn::create(v7, v10, 0);\n  v12 = cocos2d::CCDirector::sharedDirector(v11);\n  v13 = (cocos2d::CCActionManager *)(*(int (__fastcall **)(int))(*(_DWORD *)v12 + 72))(v12);\n  cocos2d::CCActionManager::addAction(v13, v11, this, 0);\n  return 1;\n}", "assembly": "; \n; CCCircleAlert::init from 0x3e56b4 to 0x3e5754 (160 bytes)\n; \n; 1 xrefs:\n; > CCCircleAlert::create @ 0x3e579c\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:47:04 +0000\n; \nPUSH.W          {R3-R9,LR}                                             ; +0x0, 0x3e56b4\nMOV             R4, R0                                                 ; +0x4, 0x3e56b8\nVPUSH           {D8}; float                                            ; +0x6, 0x3e56ba\nMOV             R7, R2                                                 ; +0xa, 0x3e56be\nSTR.W           R1, [R4,#0x110]                                        ; +0xc, 0x3e56c0\nMOV             R5, R1                                                 ; +0x10, 0x3e56c4\nLDR             R1, =(aRadius - 0x3E56D8); \"radius\"                    ; +0x12, 0x3e56c6\nMOVS            R6, #0                                                 ; +0x14, 0x3e56c8\nVMOV            S17, R3                                                ; +0x16, 0x3e56ca\nLDR             R3, =(word_BEB000 - 0x3E56DA)                          ; +0x1a, 0x3e56ce\nSTR.W           R6, [R0,#0x114]                                        ; +0x1c, 0x3e56d0\nADD             R1, PC; \"radius\"                                       ; +0x20, 0x3e56d4\nADD             R3, PC; word_BEB000                                    ; +0x22, 0x3e56d6\nVLDR            S16, =0.3                                              ; +0x24, 0x3e56d8\nLDRH            R2, [R3]                                               ; +0x28, 0x3e56dc\nLDRB            R3, [R3,#(byte_BEB002 - 0xBEB000)]                     ; +0x2a, 0x3e56de\nSTRH.W          R2, [R0,#0x118]                                        ; +0x2c, 0x3e56e0\nMOV             R2, R5; char *                                         ; +0x30, 0x3e56e4\nSTRB.W          R3, [R0,#0x11A]                                        ; +0x32, 0x3e56e6\nMOV             R3, R7; float                                          ; +0x36, 0x3e56ea\nVMOV            R0, S17; this                                          ; +0x38, 0x3e56ec\nBL              _ZN7cocos2d13CCActionTween6createEfPKcff; cocos2d::CCActionTween::create(float,char const*,float,float) ; +0x3c, 0x3e56f0\nVSUB.F32        S15, S17, S16                                          ; +0x40, 0x3e56f4\nLDR             R5, =(aOpacity - 0x3E5700); \"opacity\"                  ; +0x44, 0x3e56f8\nLDR             R7, flt_3E5758                                         ; +0x46, 0x3e56fa\nADD             R5, PC; \"opacity\"                                      ; +0x48, 0x3e56fc\nLDR.W           R2, [R4,#0x114]; char *                                ; +0x4a, 0x3e56fe\nMOV             R1, R5; float                                          ; +0x4e, 0x3e5702\nMOV             R3, R7; float                                          ; +0x50, 0x3e5704\nMOV             R8, R0                                                 ; +0x52, 0x3e5706\nVMOV            R0, S15; this                                          ; +0x54, 0x3e5708\nBL              _ZN7cocos2d13CCActionTween6createEfPKcff; cocos2d::CCActionTween::create(float,char const*,float,float) ; +0x58, 0x3e570c\nMOV             R3, R6; float                                          ; +0x5c, 0x3e5710\nMOV             R1, R5; float                                          ; +0x5e, 0x3e5712\nMOV             R2, R7; char *                                         ; +0x60, 0x3e5714\nMOV             R9, R0                                                 ; +0x62, 0x3e5716\nVMOV            R0, S16; this                                          ; +0x64, 0x3e5718\nBL              _ZN7cocos2d13CCActionTween6createEfPKcff; cocos2d::CCActionTween::create(float,char const*,float,float) ; +0x68, 0x3e571c\nMOVS            R2, #0                                                 ; +0x6c, 0x3e5720\nMOV             R1, R0; cocos2d::CCFiniteTimeAction *                  ; +0x6e, 0x3e5722\nMOV             R0, R9; this                                           ; +0x70, 0x3e5724\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x72, 0x3e5726\nMOVS            R2, #0                                                 ; +0x76, 0x3e572a\nMOV             R1, R0; cocos2d::CCFiniteTimeAction *                  ; +0x78, 0x3e572c\nMOV             R0, R8; this                                           ; +0x7a, 0x3e572e\nBL              _ZN7cocos2d7CCSpawn6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSpawn::create(cocos2d::CCFiniteTimeAction *,...) ; +0x7c, 0x3e5730\nMOV             R5, R0                                                 ; +0x80, 0x3e5734\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x82, 0x3e5736\nLDR             R3, [R0]                                               ; +0x86, 0x3e573a\nLDR             R3, [R3,#0x48]                                         ; +0x88, 0x3e573c\nBLX             R3                                                     ; +0x8a, 0x3e573e\nMOV             R1, R5; cocos2d::CCAction *                            ; +0x8c, 0x3e5740\nMOV             R2, R4; cocos2d::CCNode *                              ; +0x8e, 0x3e5742\nMOVS            R3, #0; bool                                           ; +0x90, 0x3e5744\nBL              _ZN7cocos2d15CCActionManager9addActionEPNS_8CCActionEPNS_6CCNodeEb; cocos2d::CCActionManager::addAction(cocos2d::CCAction *,cocos2d::CCNode *,bool) ; +0x92, 0x3e5746\nVPOP            {D8}                                                   ; +0x96, 0x3e574a\nMOVS            R0, #1                                                 ; +0x9a, 0x3e574e\nPOP.W           {R3-R9,PC}                                             ; +0x9c, 0x3e5750", "xrefs": ["CCCircleAlert::create @ 0x3e579c"], "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"}