{"type": "func", "start": 4298245200, "end": 4298245292, "name": "CurrencyRewardLayer::createUnlockObject", "pseudocode": "// \n// CurrencyRewardLayer::createUnlockObject from 0x100320450 to 0x1003204ac (92 bytes)\n// \n// 2 xrefs:\n// > RewardUnlockLayer::playRewardEffect @ 0x1001c62a0\n// > GJGarageLayer::dialogClosed @ 0x100306dd0\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 CurrencyRewardLayer::createUnlockObject(\n        CurrencyRewardLayer *a1,\n        cocos2d::CCSprite *a2,\n        cocos2d::CCPoint a3,\n        float a4)\n{\n  __int64 *v4; // x2\n  float x; // s8\n  float v8; // s2\n  __int64 v9; // [xsp+8h] [xbp-28h] BYREF\n  cocos2d::CCPoint v10; // 0:s0.4,4:s1.4\n\n  x = a3.x;\n  sub_1000229B8(&v9, v4);\n  v10.x = x;\n  CurrencyRewardLayer::createObjectsFull(a1, Icon, 1, a2, v10, v8);\n}", "assembly": "; \n; CurrencyRewardLayer::createUnlockObject from 0x100320450 to 0x1003204ac (92 bytes)\n; \n; 2 xrefs:\n; > RewardUnlockLayer::playRewardEffect @ 0x1001c62a0\n; > GJGarageLayer::dialogClosed @ 0x100306dd0\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x100320450\nSTP             D9, D8, [SP,#0x30+var_20]                              ; +0x4, 0x100320454\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100320458\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10032045c\nADD             X29, SP, #0x30                                         ; +0x10, 0x100320460\nFMOV            S8, S0                                                 ; +0x14, 0x100320464\nMOV             X19, X1                                                ; +0x18, 0x100320468\nMOV             X20, X0                                                ; +0x1c, 0x10032046c\nADD             X0, SP, #0x30+var_28                                   ; +0x20, 0x100320470\nMOV             X1, X2                                                 ; +0x24, 0x100320474\nBL              sub_1000229B8                                          ; +0x28, 0x100320478\nADD             X4, SP, #0x30+var_28                                   ; +0x2c, 0x10032047c\nMOV             X0, X20                                                ; +0x30, 0x100320480\nMOV             W1, #0                                                 ; +0x34, 0x100320484\nMOV             W2, #1                                                 ; +0x38, 0x100320488\nMOV             X3, X19                                                ; +0x3c, 0x10032048c\nFMOV            S0, S8                                                 ; +0x40, 0x100320490\nBL              CurrencyRewardLayer__createObjectsFull                 ; +0x44, 0x100320494\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x48, 0x100320498\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x4c, 0x10032049c\nLDP             D9, D8, [SP,#0x30+var_20]                              ; +0x50, 0x1003204a0\nADD             SP, SP, #0x40 ; '@'                                    ; +0x54, 0x1003204a4\nRET                                                                    ; +0x58, 0x1003204a8", "xrefs": ["RewardUnlockLayer::playRewardEffect @ 0x1001c62a0", "GJGarageLayer::dialogClosed @ 0x100306dd0"], "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"}