; ; DungeonBarsSprite::init from 0x140585010 to 0x14058508e (126 bytes) ; ; 3 xrefs: ; > SecretLayer3::init @ 0x1405802ec ; > @ 0x1407df5e0 ; > @ 0x14092ca14 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:34:27 +0000 ; push rdi ; +0x0, 0x140585010 sub rsp, 20h ; +0x2, 0x140585012 mov rdi, rcx ; +0x6, 0x140585016 call cs:__imp_?init@CCNode@cocos2d@@UEAA_NXZ; cocos2d::CCNode::init(void) ; +0x9, 0x140585019 test al, al ; +0xf, 0x14058501f jnz short loc_140585029 ; +0x11, 0x140585021 add rsp, 20h ; +0x13, 0x140585023 pop rdi ; +0x17, 0x140585027 retn ; +0x18, 0x140585028 lea rcx, aDungeonBars001; "dungeon_bars_001.png" ; +0x19, 0x140585029 mov [rsp+28h+arg_0], rbx ; +0x20, 0x140585030 call cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x25, 0x140585035 mov rcx, [rdi] ; +0x2b, 0x14058503b mov rdx, rax ; +0x2e, 0x14058503e mov [rdi+140h], rax ; +0x31, 0x140585041 mov r8, [rcx+1D0h] ; +0x38, 0x140585048 mov rcx, rdi ; +0x3f, 0x14058504f call r8 ; +0x42, 0x140585052 mov rdi, [rdi+140h] ; +0x45, 0x140585055 lea rcx, [rsp+28h+arg_8] ; +0x4c, 0x14058505c movss xmm2, cs:dword_140835CD0 ; +0x51, 0x140585061 xorps xmm1, xmm1 ; +0x59, 0x140585069 mov rbx, [rdi] ; +0x5c, 0x14058506c call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5f, 0x14058506f mov rdx, rax ; +0x65, 0x140585075 mov rcx, rdi ; +0x68, 0x140585078 call qword ptr [rbx+0B8h] ; +0x6b, 0x14058507b mov rbx, [rsp+28h+arg_0] ; +0x71, 0x140585081 mov al, 1 ; +0x76, 0x140585086 add rsp, 20h ; +0x78, 0x140585088 pop rdi ; +0x7c, 0x14058508c retn ; +0x7d, 0x14058508d