{"type": "func", "start": 4295355324, "end": 4295355508, "name": "ButtonSprite::create", "pseudocode": "// \n// ButtonSprite::create from 0x10005ebbc to 0x10005ec74 (184 bytes)\n// \n// 22 xrefs:\n// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x100035a58\n// > SetupSpawnPopup::init @ 0x1000f8028\n// > SetupSpawnPopup::init @ 0x1000f8110\n// > LevelCell::loadCustomLevelCell @ 0x10010cf88\n// > LevelCell::loadCustomLevelCell @ 0x10010d05c\n// > LevelCell::loadCustomLevelCell @ 0x10010d12c\n// > SFXBrowser::init @ 0x1001690f8\n// > SFXBrowser::init @ 0x1001691e8\n// > SetupAudioTriggerPopup::addProxVolControls @ 0x10017ed7c\n// > FRequestProfilePage::init @ 0x1001b645c\n// > MessagesProfilePage::init @ 0x1001cc328\n// > SetupSequenceTriggerPopup::init @ 0x1001d29dc\n// > LevelLeaderboard::getSpriteButton @ 0x100250240\n// > InfoLayer::getSpriteButton @ 0x100351ce8\n// > LeaderboardsLayer::setupTabs @ 0x1003b14d4\n// > MusicBrowser::init @ 0x1003c1570\n// > MusicBrowser::init @ 0x1003c1660\n// > EditorUI::getSpriteButton @ 0x1003e71e4\n// > EditorUI::getCreateMenuItemButton @ 0x1003e72dc\n// > EditorUI::menuItemFromObjectString @ 0x1003e8fd4\n// > EditorUI::getCreateBtn @ 0x1003ea44c\n// > LevelBrowserLayer::init @ 0x100414e6c\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\nButtonSprite *__fastcall ButtonSprite::create(\n        cocos2d::CCSprite *a1,\n        int a2,\n        int a3,\n        float a4,\n        float a5,\n        bool a6,\n        const char *a7,\n        bool a8)\n{\n  ButtonSprite *v16; // x19\n\n  v16 = (ButtonSprite *)operator new(0x2B8u);\n  ButtonSprite::ButtonSprite(v16);\n  if ( ButtonSprite::init(v16, a1, a2, a3, a4, a5, a6, a7, a8) )\n  {\n    cocos2d::CCObject::autorelease(v16);\n  }\n  else\n  {\n    ((void (__fastcall *)(ButtonSprite *))v16->~ButtonSprite_0)(v16);\n    return nullptr;\n  }\n  return v16;\n}", "assembly": "; \n; ButtonSprite::create from 0x10005ebbc to 0x10005ec74 (184 bytes)\n; \n; 22 xrefs:\n; > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x100035a58\n; > SetupSpawnPopup::init @ 0x1000f8028\n; > SetupSpawnPopup::init @ 0x1000f8110\n; > LevelCell::loadCustomLevelCell @ 0x10010cf88\n; > LevelCell::loadCustomLevelCell @ 0x10010d05c\n; > LevelCell::loadCustomLevelCell @ 0x10010d12c\n; > SFXBrowser::init @ 0x1001690f8\n; > SFXBrowser::init @ 0x1001691e8\n; > SetupAudioTriggerPopup::addProxVolControls @ 0x10017ed7c\n; > FRequestProfilePage::init @ 0x1001b645c\n; > MessagesProfilePage::init @ 0x1001cc328\n; > SetupSequenceTriggerPopup::init @ 0x1001d29dc\n; > LevelLeaderboard::getSpriteButton @ 0x100250240\n; > InfoLayer::getSpriteButton @ 0x100351ce8\n; > LeaderboardsLayer::setupTabs @ 0x1003b14d4\n; > MusicBrowser::init @ 0x1003c1570\n; > MusicBrowser::init @ 0x1003c1660\n; > EditorUI::getSpriteButton @ 0x1003e71e4\n; > EditorUI::getCreateMenuItemButton @ 0x1003e72dc\n; > EditorUI::menuItemFromObjectString @ 0x1003e8fd4\n; > EditorUI::getCreateBtn @ 0x1003ea44c\n; > LevelBrowserLayer::init @ 0x100414e6c\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             D9, D8, [SP,#-0x10+var_50]!                            ; +0x0, 0x10005ebbc\nSTP             X26, X25, [SP,#0x50+var_40]                            ; +0x4, 0x10005ebc0\nSTP             X24, X23, [SP,#0x50+var_30]                            ; +0x8, 0x10005ebc4\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0xc, 0x10005ebc8\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x10, 0x10005ebcc\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x14, 0x10005ebd0\nADD             X29, SP, #0x50                                         ; +0x18, 0x10005ebd4\nMOV             X20, X5                                                ; +0x1c, 0x10005ebd8\nMOV             X21, X4                                                ; +0x20, 0x10005ebdc\nMOV             X22, X3                                                ; +0x24, 0x10005ebe0\nFMOV            S8, S1                                                 ; +0x28, 0x10005ebe4\nFMOV            S9, S0                                                 ; +0x2c, 0x10005ebe8\nMOV             X23, X2                                                ; +0x30, 0x10005ebec\nMOV             X24, X1                                                ; +0x34, 0x10005ebf0\nMOV             X25, X0                                                ; +0x38, 0x10005ebf4\nMOV             W0, #0x2B8; __sz                                       ; +0x3c, 0x10005ebf8\nBL              __Znwm; operator new(ulong)                            ; +0x40, 0x10005ebfc\nMOV             X19, X0                                                ; +0x44, 0x10005ec00\nBL              ButtonSprite__ButtonSprite                             ; +0x48, 0x10005ec04\nMOV             X0, X19                                                ; +0x4c, 0x10005ec08\nMOV             X1, X25                                                ; +0x50, 0x10005ec0c\nMOV             X2, X24                                                ; +0x54, 0x10005ec10\nMOV             X3, X23                                                ; +0x58, 0x10005ec14\nFMOV            S0, S9                                                 ; +0x5c, 0x10005ec18\nFMOV            S1, S8                                                 ; +0x60, 0x10005ec1c\nMOV             X4, X22                                                ; +0x64, 0x10005ec20\nMOV             X5, X21                                                ; +0x68, 0x10005ec24\nMOV             X6, X20                                                ; +0x6c, 0x10005ec28\nBL              ButtonSprite__init                                     ; +0x70, 0x10005ec2c\nCBZ             W0, loc_10005EC40                                      ; +0x74, 0x10005ec30\nMOV             X0, X19                                                ; +0x78, 0x10005ec34\nBL              cocos2d__CCObject__autorelease                         ; +0x7c, 0x10005ec38\nB               loc_10005EC54                                          ; +0x80, 0x10005ec3c\nLDR             X8, [X19]                                              ; +0x84, 0x10005ec40\nLDR             X8, [X8,#0x10]                                         ; +0x88, 0x10005ec44\nMOV             X0, X19                                                ; +0x8c, 0x10005ec48\nBLR             X8                                                     ; +0x90, 0x10005ec4c\nMOV             X19, #0                                                ; +0x94, 0x10005ec50\nMOV             X0, X19                                                ; +0x98, 0x10005ec54\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x9c, 0x10005ec58\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0xa0, 0x10005ec5c\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0xa4, 0x10005ec60\nLDP             X24, X23, [SP,#0x50+var_30]                            ; +0xa8, 0x10005ec64\nLDP             X26, X25, [SP,#0x50+var_40]                            ; +0xac, 0x10005ec68\nLDP             D9, D8, [SP+0x50+var_50],#0x60                         ; +0xb0, 0x10005ec6c\nRET                                                                    ; +0xb4, 0x10005ec70", "xrefs": ["SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x100035a58", "SetupSpawnPopup::init @ 0x1000f8028", "SetupSpawnPopup::init @ 0x1000f8110", "LevelCell::loadCustomLevelCell @ 0x10010cf88", "LevelCell::loadCustomLevelCell @ 0x10010d05c", "LevelCell::loadCustomLevelCell @ 0x10010d12c", "SFXBrowser::init @ 0x1001690f8", "SFXBrowser::init @ 0x1001691e8", "SetupAudioTriggerPopup::addProxVolControls @ 0x10017ed7c", "FRequestProfilePage::init @ 0x1001b645c", "MessagesProfilePage::init @ 0x1001cc328", "SetupSequenceTriggerPopup::init @ 0x1001d29dc", "LevelLeaderboard::getSpriteButton @ 0x100250240", "InfoLayer::getSpriteButton @ 0x100351ce8", "LeaderboardsLayer::setupTabs @ 0x1003b14d4", "MusicBrowser::init @ 0x1003c1570", "MusicBrowser::init @ 0x1003c1660", "EditorUI::getSpriteButton @ 0x1003e71e4", "EditorUI::getCreateMenuItemButton @ 0x1003e72dc", "EditorUI::menuItemFromObjectString @ 0x1003e8fd4", "EditorUI::getCreateBtn @ 0x1003ea44c", "LevelBrowserLayer::init @ 0x100414e6c"], "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"}