{"type": "func", "start": 4298675028, "end": 4298675116, "name": "LabelGameObject::addMainSpriteToParent", "pseudocode": "// \n// LabelGameObject::addMainSpriteToParent from 0x100389354 to 0x1003893ac (88 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007f6610\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 __fastcall LabelGameObject::addMainSpriteToParent(LabelGameObject *a1, bool a2)\n{\n  cocos2d::CCLabelBMFont *m_label; // x0\n  __int64 v4; // x1\n\n  GameObject::addMainSpriteToParent(a1, a2);\n  m_label = a1->m_label;\n  if ( m_label )\n  {\n    if ( a1->m_shouldBlendBase )\n      v4 = 0x100000302LL;\n    else\n      v4 = 0x30300000001LL;\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))m_label->setBlendFunc)(m_label, v4);\n  }\n}", "assembly": "; \n; LabelGameObject::addMainSpriteToParent from 0x100389354 to 0x1003893ac (88 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007f6610\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100389354\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100389358\nADD             X29, SP, #0x10                                         ; +0x8, 0x10038935c\nMOV             X19, X0                                                ; +0xc, 0x100389360\nBL              GameObject__addMainSpriteToParent                      ; +0x10, 0x100389364\nLDR             X0, [X19,#0x730]                                       ; +0x14, 0x100389368\nCBZ             X0, loc_1003893A0                                      ; +0x18, 0x10038936c\nLDRB            W8, [X19,#0x374]                                       ; +0x1c, 0x100389370\nCMP             W8, #0                                                 ; +0x20, 0x100389374\nMOV             X8, #0x30300000001                                     ; +0x24, 0x100389378\nMOV             X9, #0x100000302                                       ; +0x2c, 0x100389380\nCSEL            X1, X9, X8, NE                                         ; +0x34, 0x100389388\nLDR             X8, [X0]                                               ; +0x38, 0x10038938c\nLDR             X2, [X8,#0x380]                                        ; +0x3c, 0x100389390\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x100389394\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x100389398\nBR              X2                                                     ; +0x48, 0x10038939c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x1003893a0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x1003893a4\nRET                                                                    ; +0x54, 0x1003893a8", "xrefs": ["<???> @ 0x1007f6610"], "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"}