{"type": "func", "start": 4299429260, "end": 4299429448, "name": "LoadingCircle::init", "pseudocode": "// \n// LoadingCircle::init from 0x10044158c to 0x100441648 (188 bytes)\n// \n// 2 xrefs:\n// > LoadingCircle::create @ 0x100441508\n// > <???> @ 0x100963210\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:05:12 +0000\n// \n\n__int64 __fastcall LoadingCircle::init(_QWORD *a1)\n{\n  __int64 v2; // x20\n  __int64 v3; // x0\n  void *v4; // x21\n  float v6; // [xsp+0h] [xbp-30h] BYREF\n  __int64 v7; // [xsp+8h] [xbp-28h] BYREF\n\n  LODWORD(v7) = 0;\n  v2 = cocos2d::CCLayerColor::initWithColor((__int64)a1, (__int64)&v7);\n  if ( (_DWORD)v2 )\n  {\n    v3 = cocos2d::CCDirector::sharedDirector();\n    cocos2d::CCDirector::getWinSize(v3, &v7);\n    v4 = cocos2d::CCSprite::create((__int64)\"loadingCircle.png\");\n    a1[68] = v4;\n    sub_1000262BC(&v6, *(float *)&v7 * 0.5, *((float *)&v7 + 1) * 0.5);\n    (*(void (__fastcall **)(void *, float *))(*(_QWORD *)v4 + 184LL))(v4, &v6);\n    (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)a1[68] + 1080LL))(a1[68], 0x100000302LL);\n    (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 456LL))(a1, a1[68]);\n  }\n  return v2;\n}", "assembly": "; \n; LoadingCircle::init from 0x10044158c to 0x100441648 (188 bytes)\n; \n; 2 xrefs:\n; > LoadingCircle::create @ 0x100441508\n; > <???> @ 0x100963210\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:05:12 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x10044158c\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x100441590\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100441594\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100441598\nADD             X29, SP, #0x30                                         ; +0x10, 0x10044159c\nMOV             X19, X0                                                ; +0x14, 0x1004415a0\nSTR             WZR, [SP,#0x30+var_28]                                 ; +0x18, 0x1004415a4\nADD             X1, SP, #0x30+var_28                                   ; +0x1c, 0x1004415a8\nBL              cocos2d__CCLayerColor__initWithColor                   ; +0x20, 0x1004415ac\nMOV             X20, X0                                                ; +0x24, 0x1004415b0\nCBZ             W0, loc_100441630                                      ; +0x28, 0x1004415b4\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x2c, 0x1004415b8\nADD             X8, SP, #0x30+var_28                                   ; +0x30, 0x1004415bc\nBL              cocos2d__CCDirector__getWinSize                        ; +0x34, 0x1004415c0\nADRL            X0, aLoadingcircleP; \"loadingCircle.png\"               ; +0x38, 0x1004415c4\nBL              cocos2d__CCSprite__create                              ; +0x40, 0x1004415cc\nMOV             X21, X0                                                ; +0x44, 0x1004415d0\nSTR             X0, [X19,#0x220]                                       ; +0x48, 0x1004415d4\nFMOV            S1, #0.5                                               ; +0x4c, 0x1004415d8\nLDP             S0, S2, [SP,#0x30+var_28]                              ; +0x50, 0x1004415dc\nFMUL            S0, S0, S1                                             ; +0x54, 0x1004415e0\nFMUL            S1, S2, S1                                             ; +0x58, 0x1004415e4\nMOV             X0, SP                                                 ; +0x5c, 0x1004415e8\nBL              sub_1000262BC                                          ; +0x60, 0x1004415ec\nLDR             X8, [X21]                                              ; +0x64, 0x1004415f0\nLDR             X8, [X8,#0xB8]                                         ; +0x68, 0x1004415f4\nMOV             X1, SP                                                 ; +0x6c, 0x1004415f8\nMOV             X0, X21                                                ; +0x70, 0x1004415fc\nBLR             X8                                                     ; +0x74, 0x100441600\nLDR             X0, [X19,#0x220]                                       ; +0x78, 0x100441604\nLDR             X8, [X0]                                               ; +0x7c, 0x100441608\nLDR             X8, [X8,#0x438]                                        ; +0x80, 0x10044160c\nMOV             X1, #0x100000302                                       ; +0x84, 0x100441610\nBLR             X8                                                     ; +0x8c, 0x100441618\nLDR             X1, [X19,#0x220]                                       ; +0x90, 0x10044161c\nLDR             X8, [X19]                                              ; +0x94, 0x100441620\nLDR             X8, [X8,#0x1C8]                                        ; +0x98, 0x100441624\nMOV             X0, X19                                                ; +0x9c, 0x100441628\nBLR             X8                                                     ; +0xa0, 0x10044162c\nMOV             X0, X20                                                ; +0xa4, 0x100441630\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xa8, 0x100441634\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xac, 0x100441638\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0xb0, 0x10044163c\nADD             SP, SP, #0x40 ; '@'                                    ; +0xb4, 0x100441640\nRET                                                                    ; +0xb8, 0x100441644", "xrefs": ["LoadingCircle::create @ 0x100441508", "<???> @ 0x100963210"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}